On Wed, Oct 10, 2001 at 12:28:06PM +0100, Dunphy Richard-rdunph01 wrote:
> Is it possible for the server to also be an NIS Client for itself?
Not alone possible but quite common.
> Anyone know how I can get the two to match?!
If you're using NIS use it completely and correctly which means that you
don't have user entries anywhere except on the NIS master server.
Then you adjust passwd (replace with a script, symbolic link or whatever's
appropriate) on all the clients so that the users are actually running a NIS
password changer e.g. yppasswd if you're using Linux, which I presume you
are, this being the ILUG list :-), or the appropriate command for other OS
e.g. passwd -r nis if they're using oh, say, Solaris.
IMHO it's also not a good idea to use the server's /etc/passwd as a source
for the NIS map. I used to use /etc/passwd on each machine for its local
passwords e.g. root and the NIS passwd map only had passwords for those
accounts which were the same on the whole network.
Niall
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!