Re: F28: Why doesn't NIS work?

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

 



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    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-              "Swap memory error: You lose your mind"               -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux