LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Hellp (https://www.linuxquestions.org/questions/linux-newbie-8/hellp-869309/)

nursegirl1 03-17-2011 10:06 PM

Hellp
 
Why can't you use the command "sudo su root" from a user besides Ubuntu?

blueCow 03-17-2011 10:17 PM

Not entirely sure I understand your question but I will give it a shot.

If your user is having an issue using sudo, ensure you are in the sudoers file.
If you are able to use sudo for other commands, just not 'su root', check the sudoers file for which commands the user has access to via sudo.

frankbell 03-17-2011 10:57 PM

What I have read it that, when Ubuntu is installed, it puts the first user (usually the installing user) in the sudoers file. Other users are not automatically added to the sudoers file.

See man visudo for information on how to edit the sudoers file in Ubuntu. I admit, it's kind of murky, but I've never done it myself.


All times are GMT -5. The time now is 08:40 PM.