Package management using sudo
by Tonus from LinuxQuestions.org on (#5EH3S)
Hi all,
While tinkering with sudoers files, I was wondering what would be the caveats of using sudo to manage packages.
install/upgrade/remove seems to be ok
slackpkg too
sbopkg could fail for packages that need full login as would some SlackBuilds I believe. In these cases, would the -i option do the job ?
I've did some man pages reading but can't get a satisfaying answer...
The goal is to fire some commands that can last long without letting open a root terminal.... Especially usefull when updating a batch of laptops...
Thanks for your inputs !


While tinkering with sudoers files, I was wondering what would be the caveats of using sudo to manage packages.
install/upgrade/remove seems to be ok
slackpkg too
sbopkg could fail for packages that need full login as would some SlackBuilds I believe. In these cases, would the -i option do the job ?
I've did some man pages reading but can't get a satisfaying answer...
The goal is to fire some commands that can last long without letting open a root terminal.... Especially usefull when updating a batch of laptops...
Thanks for your inputs !