John Allen wrote:
>On Thursday 08 April 2004 12:26, John Madden wrote:
>>>>-----BEGIN PGP SIGNED MESSAGE-----
>>Hash: SHA1
>>>>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.
L.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!