LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Suse/Novell (http://www.linuxquestions.org/questions/suse-novell-60/)
-   -   why sudo root command not found? (http://www.linuxquestions.org/questions/suse-novell-60/why-sudo-root-command-not-found-596562/)

vitalstrike82 11-02-2007 05:01 AM

why sudo root command not found?
 
Previously when i trying to log in as root, i will just type sudo root and it is able to work.
Now when i type the above commands it gives
Code:

sudo: root: command not found
What has happen?

please give me your guidance.. thanks

vlad1977 11-02-2007 05:38 AM

sudo root?
 
Hey, maybe you wanted to use "su [ENTER] {root psswd}"?
Code:

vlad@linux-rulez4:~$ sudo root
[sudo] password for vlad:
sudo: root: command not found
vlad@linux-rulez4:~$ su
Password:
root@linux-rulez4:/home/vlad#


colucix 11-02-2007 06:46 AM

I agree with vlad1977. The sudo command is to execute commands with root privileges: you tried to execute the command root, which was obviously not found. See man sudo for details.

vitalstrike82 11-03-2007 02:47 AM

Ya.. so sorry.. i made a mistake..thanks...
Problem solve...

axobeauvi 11-05-2007 05:07 PM

you sudo a command not a user
try
sudo yast2
or something along those lines
make sure your user has rights to use sudo

dasy2k1 11-07-2007 08:29 PM

if you really need a root shell and you cant use su
then you could


sudo bash

(this is what you have to do in the *buntu family as they dont permit root logons)


All times are GMT -5. The time now is 04:49 PM.