On Mon, 15 Oct 2007 18:57:27 +0300, Manolis Kiagias wrote: > > > The following comes from the handbook and works for me: > > copy your master.passwd to /var/yp, i.e: > > cp /etc/master.passwd /var/yp/master.passwd > > Edit the copy of master.passwd and exclude all "irrelevant" accounts > (root,servers and so on) > > Then run: > > ypinit -m your-nis.domain > So the message I'm getting here is that the procedure used to initially set up NIS is the same as that used to update NIS. Further down that page, it claims that pw can be used to add users to an existing scheme:
<quote> 27.4.8 Important Things to Remember There are still a couple of things that you will need to do differently now that you are in an NIS environment. * Every time you wish to add a user to the lab, you must add it to the master NIS server only, and you must remember to rebuild the NIS maps. If you forget to do this, the new user will not be able to login anywhere except on the NIS master. For example, if we needed to add a new user jsmith to the lab, we would: # pw useradd jsmith # cd /var/yp # make test-domain You could also run adduser jsmith instead of pw useradd jsmith. </quote> > My real problem with nis is the fact the freebsd maps are not compatible > with linux clients, and I can't seem to get the Makefile right... Ouch! I'm ultimately planning to add a Linux client. In theory, I can get by with just NFS for this particular application, but it would be better to have NIS as well. -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3).
Description: PGP signature