Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-11-2004, 01:49 PM   #1
Registered: Oct 2004
Location: Londinium
Distribution: CentOs 4, OSX Tiger
Posts: 93

Rep: Reputation: 15
Question recovering root username


I've been given the job of running a RH9 linux server at work, I have a normal user login account, but don't know the root username - the guy who used to do this has left and probably thought it was funny not to leave any admin details!

How do I get the root username? (I know the password because I guessed it while accessing GNOME user settings)

I'm a total newbie, so no flames pleeeaasse! (and yes, it is ironic that they've given it to someone who knows nothing, but that is the corporate world...)

Last edited by yogaboy; 11-11-2004 at 01:53 PM.
Old 11-11-2004, 01:57 PM   #2
LQ Newbie
Registered: Nov 2004
Location: Nepal
Distribution: Mandrake 9.2, Ubuntu
Posts: 20

Rep: Reputation: 0
u r confusing me(nubee). u've got the root password. should not the user name be just "root"?
If in gui app, user name does not ask then you can use user/group editor from the gui with root passwd to do anything, isn't it?
Old 11-11-2004, 01:58 PM   #3
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
The "root" username is "root".
Old 11-11-2004, 05:40 PM   #4
Senior Member
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
This is funny!!!

If you want to hack your system try reading HACKING EXPOSED
Old 11-12-2004, 06:35 AM   #5
Registered: Oct 2004
Location: Londinium
Distribution: CentOs 4, OSX Tiger
Posts: 93

Original Poster
Rep: Reputation: 15
Ha ha - yes, the root username is root! How silly I am to not have tried that...

Thanks people, I'd heard that Linux users were grumpy flamers, but not a flame in sight! It truly is the Windoze users with the chips on their shoulders!!!!
Old 11-12-2004, 08:12 AM   #6
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 288

Rep: Reputation: 31
The easist way is to boot, if using lilo type single at prompt, or if using grub hit 'e' for edit and edit the line that starts vmlinuz, put a 1 at the end for single user mode.
When booted to the prompt type passwd root, change it to what you want and reboot.


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
recovering root password isaacvimal Red Hat 3 04-02-2005 09:47 AM
Recovering a root passwd MrKhan Linux - General 1 11-13-2003 04:04 PM
root passwd and username latika.gk Linux - Newbie 3 05-26-2003 07:24 AM
Possible to change the root username? Thaidog Linux - Security 1 05-15-2003 08:59 PM
recovering root password in rh using lilo farhan Linux - General 1 03-01-2003 09:45 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:02 PM.

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