LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-29-2006, 03:10 PM   #1
sykes89
LQ Newbie
 
Registered: Oct 2006
Posts: 8

Rep: Reputation: 0
su command help


i'm kinda new at this so sorry if this is a stupid question but

when i try and login as root from the su command i dont know how to type it

for example if the root password was "helpme" what would i type??

would it be something like "su - root helpme"

i just need to know how to write it out
 
Old 10-29-2006, 03:15 PM   #2
ebasi
Member
 
Registered: Jul 2004
Distribution: Slackware 13.0
Posts: 51

Rep: Reputation: 15
When you type su - root, you'll be asked for password. then you must type it.

Code:
[23:13:46]ebasi@home:~$ su - root
Password: 
[23:14:12]root@home:~#
 
Old 10-29-2006, 03:25 PM   #3
sykes89
LQ Newbie
 
Registered: Oct 2006
Posts: 8

Original Poster
Rep: Reputation: 0
i dont know if it makes a difference but i'm doing it from the linux rescue

when i type su - root it says password invalid
 
Old 10-29-2006, 03:46 PM   #4
yttrium88
Member
 
Registered: Oct 2006
Distribution: Almost Kubuntu 6.10
Posts: 32

Rep: Reputation: 15
Hmm, I would just type in su. Root is usually the default user. You can check by typing: "man su"

(q exits you from the man entry BTW)

So in your situation I would type:

[s][u][Enter] [h][e][l][p][m][e][Enter]

*NOTE* whenever you type in passwords for any user in the terminal, the terminal does NOT output little asterisks ****. The cursor just sits there like you didn't even type in anything--creepy, huh?

Last edited by yttrium88; 10-29-2006 at 03:49 PM.
 
Old 10-30-2006, 02:19 PM   #5
ele0100443
LQ Newbie
 
Registered: Oct 2006
Location: Sokoto, Nigeria
Distribution: RedHat, Mandrake
Posts: 15

Rep: Reputation: 0
Unhappy

Are you sure youre typing the correct password with correct capitalisation?
Are you sure somebody did not temper with your password?
I think you will have to make a new installation becouse there is no way you can recover your password.
 
Old 10-30-2006, 02:36 PM   #6
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
Quote:
Originally Posted by sykes89
i dont know if it makes a difference but i'm doing it from the linux rescue

when i type su - root it says password invalid
Most of the other questions have already been answered, so I'll do it as code quotes
Code:
su -
then hit enter, it should then ask for the root password which you type in and then hit enter again if the prompt changes from $ to # you're there.

Passwords etc are case sensitive.

All this is in other replies.

The only other thing I can think of, is whether you're using gentoo linux? because if you are, and you didn't make sure that your user account is a member of the "wheel" group. If that is the case, you'd have to log out, then back in as root and that'd have to be CLI as you probably can't log in graphically as root (usually disabled by default).

Dunno if any of thats any help or not.

regards

John
 
  


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
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 07:19 PM
Require Linux/Perl equivalent command for windows Command alix123 Programming 7 08-19-2005 02:23 AM
Key stroke/command to shut down x and go into the command prompt screen? Fear58 Linux - General 1 07-14-2004 07:14 PM
Command to display whole filestructure hierarchy f/ command line? mjewell Linux - Newbie 10 01-19-2004 10:48 AM
Where is Command line utility for Cups and command tutorial mossy Linux - Software 8 01-16-2004 12:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:14 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration