LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   a little trouble with sudo (https://www.linuxquestions.org/questions/linux-newbie-8/a-little-trouble-with-sudo-388111/)

vardhan 11-30-2005 09:13 PM

a little trouble with sudo
 
sudo reboot doesn't work. it says command not found i have to su root and then reboot..

its like this for all the commands that are in /sbin. how do i make sudo recognize the stuff in /sbin/ ?

Tinkster 11-30-2005 09:55 PM

Hi,

And welcome to LQ!


Change the sudo entry to say /sbin/reboot, and invoke
it with the full path
sudo /sbin/reboot


Cheers,
Tink


All times are GMT -5. The time now is 08:18 AM.