mralk3 |
11-03-2018 10:14 PM |
Some advice needed after having installed Slackware 14.2
Edit: sorry for somewhat off topic, but this is the second time this week that this has come up. I would like to know the proper way to use sudo on Slackware if I am wrong.
You can use sudo as long as you execute each command in a login shell. However, not all commands can be launched in a login shell with sudo using the -i option. As an example a limited user can run slackpkg or sbopkg like so:
Code:
sudo -i slackpkg update
sudo -i slackpkg install-new
sudo -i slackpkg upgrade-all
or
sudo -i sbopkg -i packagename
etc
At least this is how I understand sudo for Slackware. I use sudo like this all the time. However, as another example, Slackbuilds should always be ran from a login shell as root. I am interested to know if this is accurate.
|