Red Hat Pass Word

Workin'

Diamond Member
Jan 10, 2000
5,309
0
0
If it's the password to the root account I think you are screwed if you can't remember it. If you can acess that machine over a network and have previously exported or shared the appropriate directories you should be able to copy any important data off the machine before you reinstall linux.
 

JW310

Golden Member
Oct 30, 1999
1,582
0
0
At the LILO prompt, type in "linux 1". This will boot you into single-user mode, which will then allow you to change the password for the root account, without needing to know it. Then just reboot, and you should be all set.

JW
 

goldboyd

Golden Member
Oct 12, 1999
1,932
0
0
yup, booting up in single user mode is what you need to do...but be carefull, you'll be root. and if you're not referring to your root password and you just forgot your normal account, you can login as root and do a passwd [username]
 

Workin'

Diamond Member
Jan 10, 2000
5,309
0
0


<< At the LILO prompt, type in &quot;linux 1&quot;. This will boot you into single-user mode, which will then allow you to change the password for the root account, without needing to know it. >>

Really? Not that I doubt what you are saying, but then it seems rather pointless to even have a password if anyone who has physical access to your machine can change it without even having an account. Or am I missing something?
 

realcoffee

Senior member
Aug 9, 2000
526
0
0
It ask me to change the unix passwd I did but I cannot get in. I probably forgot my root login name as well I know better. thanks for all the help.
 

Usul

Golden Member
Nov 3, 2000
1,016
0
0
Correct me if I'm wrong, I just goof around with linux sometimes, bu isn't the root username &quot;root&quot; ?
 

realcoffee

Senior member
Aug 9, 2000
526
0
0
thanks to everyone. I got in to the system. You are right Usul the root name is root after I type that I was able to use the paasswd that I changed to.
 

mmaki

Member
Dec 27, 2000
77
0
0


<< At the LILO prompt, type in &quot;linux 1&quot;. This will boot you into single-user mode, which will then allow you to change the password for the root account, without needing to know it. Then just reboot, and you should be all set. >>



JW, I just gotta know, is this really true? As Workin' said, just physical access to your machine with this knowledge can change the root password? Please let us know.
 

JW310

Golden Member
Oct 30, 1999
1,582
0
0
Yes, it's true... I've done it a few times on my own system when I went back to Linux after a bit and forgot the root password. However, I believe it is also possible to disable single user mode (not sure on this one), as it obviously poses a great security hazard.

JW
 

mmaki

Member
Dec 27, 2000
77
0
0
Wow, you're absolutly right. I just tried it on one of my Linux boxes and sure enough I changed the pw! Good info to know. Thanks JW.