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

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



> 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.

This is the problem with the long delay during the post-install.


> 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.

Three others?  Which ones?


>  I turned off ypbind witch 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.

Do you have the updates for NIS (IIRC pam/nfs-utils/ypbind)?
Try running authconfig again, and select md5/shadow.  Convert the passwd
file and see if that works.  When setting up NIS, I make an entry in
/etc/hosts for the name/IP of the NIS server in the post-install.  I also
use shadow.

Forrest
 
> 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]