[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

I installed RH 7.2 and now I can't login as myself or root



I installed RH 7.2, as I've done many times before.  It was a fresh install
on new partitions.  Everything seemed normal, except for a LONG delay at
the "postinstall" screen (mentioned this in previous message a few 
minutes ago).

During the install, I decided to enable NIS, which I haven't done before at
this site.  I selected NIS, shadow passwords, no md5 passwords.  I
specified our Solaris NIS server as the NIS server and specified the NIS
domain.  I set the root password and created an account on the RH machine
that didn't conflict with any NIS account name.

When I rebooted, I couldn't login as myself or as root.  I then did
a single-user login from grub, did a pwunconv and just out of superstition,
I redid the passwds for myself and root.  Reboot -- still broken.


I checked what NIS things were set to run and only found ypbind -- three
others were not enabled.  I turned off ypbind wich chkconfig, hoping
that with no NIS, the local passwd file would work OK.  Checked that
there was a passwd file and no shadow file.  Reboot --- still broken.

OK --- looked in pam.d and figured I should get the NIS stuff out of 
system-auth.  Ran authconfig -- shut off shadow passwords and shut
off NIS.  Reboot -- still broken -- can't login as myself or root.

OK -- what have I missed here?  This is too simple to break.  :-)
I've done many dozens of Red Hat installs and never run into a problem
like this.

Note that the password doesn't work in single-user mode either.  If
I su to myself in single-user mode and then try to su back to root,
I get "su: incorrect password".


--
        pete peterson
        Teradyne, Inc.
        7 Technology Park Drive
        Westford, MA 01886-0033

        pete peterson teradyne com or petersonp genrad com
        +1-978-589-7478 (Teradyne); +1-978-589-2088 (Closest FAX);
        +1-978-589-7007 (Main Teradyne Westford FAX)





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]