Link to home
Start Free TrialLog in
Avatar of nlubin
nlubin

asked on

RH 4.2 won't let me past login!

Everything goes smooth until locallogin. I enter root and my password or no password but it only tells me that my login is invalid. What do I do? I am a newbie, so any step by step directions would be helpful.

Thanks,
Neil Lubin
nlubin@hotmail.com
Avatar of mlev
mlev

Are you sure you are using the same password you specified during the installation, in the same case? If everything else fails,
you could boot the system in single user mode (if you use LILO and normally type 'linux' to load Linux, you would now type 'linux single') and reset the root password with 'passwd'. Or use a rescue disk.
Avatar of nlubin

ASKER

Thanks for responding.  Once in linux single I typed passwd at the bash#.  It said "Segmentation Fault".  I tried "adduser neil" and it said "In: /etc/passwd: No such file or directory /etc/passwd is locked. Try again Later.

Help!!!!

Neil
nlubin@hotmail.com
If you boot from diskette, make sure you are trying to access the right file.
Sometimes a boot disk mounts your harddrive under /mnt instead of /.

Are you sure you /have/ a /etc/passwd file?

Ensure that your hdrive is getting read-write and not read only
ASKER CERTIFIED SOLUTION
Avatar of marcelofr
marcelofr

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial