Date: Mon, 15 Oct 2007 16:17:59 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> Cc: freebsd-questions@freebsd.org Subject: Re: Following directions doesn't seem to work: Adding users in NIS Message-ID: <44fy0cgmiw.fsf@be-well.ilk.org> In-Reply-To: <20071015185404.GA86225@parts-unknown.org> (David Benfell's message of "Mon\, 15 Oct 2007 11\:54\:04 -0700") References: <20071015054707.GA34948@parts-unknown.org> <44hcksl96y.fsf@be-well.ilk.org> <20071015185404.GA86225@parts-unknown.org>
next in thread | previous in thread | raw e-mail | index | archive | help
David Benfell <benfell@parts-unknown.org> writes: > On Mon, 15 Oct 2007 10:54:45 -0400, Lowell Gilbert wrote: >> adduser(8) doesn't know anything about NIS. I don't know any >> automated way of adding users to a NIS map, but my home network is >> small enough that I don't bother. >> > I was using pw, which claims to be able to update NIS via the -Y > option, but frankly, the behavior you describe seems to match its > behavior as well. That's different. According to its manual page, I would expect you to need the -y option to go with -Y. > My network is also a home network, but the complications I get into > are nothing short of amazing. Nah. It takes some time to set up, but it works very easily after that. >> What you want to do is move the users' entries from master.passwd into >> your NIS master file, and rebuild the maps. > > Do I also need to modify the copy of passwd or is master.passwd the only > one that matters? passwd gets generated automatically from master.passwd. For the main system files, see the manual for pwd_mkdb(8). For the NIS versions, I don't remember the details offhand, but the Makefile under /var/yp probably knows all the relevant magic.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44fy0cgmiw.fsf>