[ILUG] (no subject)
lbedford at lbedford.org
Thu Apr 8 14:04:57 IST 2004
John Allen wrote:
>On Thursday 08 April 2004 12:26, John Madden wrote:
>>-----BEGIN PGP SIGNED MESSAGE-----
>>On (08/04/04 11:23), Paul Kelly didst pronounce:
>>>Still have trouble with NIS. I think that the problem happens when I add
>>>to the top of the
>>>/etc/passwd file on the client this +:::::: when this is added and I
>>>reboot I can log on as the
>>>users created on my server but not su.
>>I could be wrong here, but from what I remember of NIS from when we ran
>>it on Skynet, the +:::::: line should be at the _bottom_ of the
>>/etc/passwd file. That's the line that basically says "You should check
>>NIS for anything you're looking for that wasn't before this line".
>Just to emphasize, the + line is NOT required to get NIS working. This is an
>old requirement, and not longer needed.
That depends on the setup of /etc/nsswitch.conf
The new way is to have
passwd: files nis
in there, and yes, you don't need the +::: line
There are setting for nsswitch.conf to make it
use the +::: line again for compatibility reasons, but I think most
people got over that
a while ago.
More information about the ILUG