On 05/04/2018 12:21 PM, Tom Horsley wrote:
> I've got ypbin running.
> 
> I can do a "ypcat passwd" and see the user defined
> 
> The home directory and the shell both exist for that user
> 
> The /etc/nsswitch.conf file has "files nis" for passwd, shadow, and group.
> 
> But I get this in /var/log/secure:
> 
> May  4 15:14:38 tomh login: FAILED LOGIN 1 FROM tty3 FOR tom, Authentication 
> failure
> 
> or if I try to ssh in, I get:
> 
> May  4 15:02:18 tomh sshd[13139]: fatal: Access denied for user tom by PAM 
> account configuration [preauth]
> 
> What new mystery has been introduced to the configuration of ypbind and NIS?

Might I suggest using "compat" or "files sss" instead of "files nis" in
your /etc/nsswitch.conf file for passwd, group and shadow? E.g.:

        passwd: compat
        group:  compat
        shadow: compat

        -- or --

        passwd: files sss
        group:  files sss
        shadow: files sss

----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ri...@alldigital.com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-              "Swap memory error: You lose your mind"               -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to