LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 11-02-2007, 05:01 AM   #1
vitalstrike82
Member
 
Registered: Oct 2007
Location: Singapore
Distribution: OpenSuse, Slackware, Redhat
Posts: 315

Rep: Reputation: 40
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
 
Old 11-02-2007, 05:38 AM   #2
vlad1977
LQ Newbie
 
Registered: May 2007
Posts: 9

Rep: Reputation: 0
Wink 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#

Last edited by vlad1977; 11-02-2007 at 05:40 AM.
 
Old 11-02-2007, 06:46 AM   #3
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,508

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
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.
 
Old 11-03-2007, 02:47 AM   #4
vitalstrike82
Member
 
Registered: Oct 2007
Location: Singapore
Distribution: OpenSuse, Slackware, Redhat
Posts: 315

Original Poster
Rep: Reputation: 40
Ya.. so sorry.. i made a mistake..thanks...
Problem solve...
 
Old 11-05-2007, 05:07 PM   #5
axobeauvi
Member
 
Registered: Apr 2003
Posts: 128

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

Last edited by axobeauvi; 11-05-2007 at 05:09 PM.
 
Old 11-07-2007, 08:29 PM   #6
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Ubuntu 12.04 X86_64
Posts: 958

Rep: Reputation: 35
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)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
/usr/sbin/sudo: line 1: root: command not found saheelahamed Linux - Software 2 08-02-2007 07:14 AM
sudo: shutdown: command not found ekdya Fedora 2 09-29-2006 04:42 PM
bash: rpm: command not found && sudo: alien: command not found Java_Code Ubuntu 7 07-27-2006 11:57 PM
sudo command not working startproc cmd not found Imajica21 Linux - General 2 04-14-2005 01:22 PM
sudo: readme : command not found vishal.thorat Linux - Security 3 07-17-2003 05:56 PM


All times are GMT -5. The time now is 07:03 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration