Proper way of invoking privileged yum operations from a program
I'm writing a utility that would need to perform privileged Yum operations -- triggering installations, enabling and disabling repositories, etc.
What's the recommended way of doing privilege escalation for this?