Solved: root login OK, user login incorrect.

Solved: root login OK, user login incorrect.

Post by Robert L. Bottemill » Fri, 29 Jan 1999 04:00:00

In late Dec. I described a problem which can be summarized as follows:
1.  Red Hat 5.1 installation went smoothly
2.  root login OK
3.  users' login rejected despite evidence of OK password file

Several kind responses (thanks) were logical sounding but not

I ordered "Red Hat Linux Unleashed" (David Pitts & Bill Ball, 3rd ed.;
including RH5.2) and received it yesterday.  Page 487 contains the
following illuminating passage:  "...The login program checks for the
existence of the /etc/nologin file.  If it exists, logins are
disabled."  Sure enough, my install of RH 5.1 resulted in the file
nologin present in /etc.  I renamed it nonologin, logged out as root,
logged in as one of the previously-unusable users and VOILA -- login

I look forward to continuing work with Linux and expect to frequently
reference "RH Unleashed/3"...thanks Dave and Bill.

Bob Bottemiller

For replies remove "spamless" from return address.


1. SOLVED: FTP login problem - real users cannot login

I wasn't able to solve the problem by adding to /etc/hosts and finally
resorted to setting up full forward and reverse zone files on my cashing
DNS.  This has solved the problem and I now get blazingly quick
connections and login prompts for FTP.

I have the line
    hosts:     files nisplus nis dns
in my /etc/nsswitch.conf which I thought was what told services to check
/etc/hosts before DNS.  Is there another place I need to do something
like this to get services to read my /etc/hosts?

The final mystery is why everything worked fine for more than 2 months
and then suddenly required a full DNS to operate properly.  I'm glad it
is working now, but these unsolved mysteries leave a bad taste in one's

Thanks to all who have offered advice.

2. Somebody PLEASE help get WindowMaker compiled under RH5.1

3. Login problem with root, but can successfully login with other user to access CDE

4. csh history file

5. Login problem with root, but can login with other user.

6. suggestions for new alpha box?

7. 'failed running login shell' no non-root user login possible

8. Ephemeral ports

9. ftp login 530 Login incorrect?

10. Help! Command login ok, CDE login fails

11. root login incorrect

12. Please help: console root login incorrect and TTY no number!

13. RH5.1: smooth install but users get "Login incorrect"