Solved

RH 4.2 won't let me past login!

Posted on 1998-07-28
5
173 Views
Last Modified: 2013-12-15
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
0
Comment
Question by:nlubin
5 Comments
 
LVL 2

Expert Comment

by:mlev
Comment Utility
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.
0
 

Author Comment

by:nlubin
Comment Utility
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
0
 
LVL 2

Expert Comment

by:alexbik
Comment Utility
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?

0
 
LVL 1

Expert Comment

by:mikegrb
Comment Utility
Ensure that your hdrive is getting read-write and not read only
0
 
LVL 3

Accepted Solution

by:
marcelofr earned 50 total points
Comment Utility
I don't remember the exact name, but you can remove the lock deleting /etc/.pwd.lock or /etc/.pwd.lck

If you are in single user you must:

mount -o remount,rw /
rm /etc/.pwd*
mount -o remount,ro /

If my mind servers me, there was a bug somewhere... you should upgrade to 5.1 or install the updates availabe at ftp.redhat.com for 4.2

Goo luck
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now