Date: Fri, 9 Jul 1999 23:07:56 -0400 (EDT) From: dan@nfol.com (Dan Harnett) To: freebsd-isp@freebsd.org Subject: Re: NIS Master and non-split passwd files Message-ID: <19990710030756.8F70572501@mail.nfol.com> In-Reply-To: <000b01beca61$063f4200$05fc473f@prophetnetworks.net> from Ben Vaughn at "Jul 9, 1999 6:15:59 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, The 'pw' program already has the capability to keep /etc/master.passwd in sync with a NIS one. You can also restrict pw to the range of UIDs that it may use. To make this easier, you can create an /etc/pw.conf file that looks something like this: nispasswd=/var/yp/master.passwd reuseuids=yes minuid=1000 maxuid=65533 home=/home Also when pw is run with the -Y option, it will also run make on /var/yp/Makefile. For more information see the man pages for 'pw' and 'pw.conf'. Dan Harnett (dan@nfol.com) > Hello again, > I just noticed that since I am using a /var/yp/master.passwd file, when > adding users I have to adduser on the master and then copy the entry over to > the /var/yp/master.passwd file. Does anyone know of how to keep these files > in sync with each other? I know its not advisable to make nis use > /etc/master.passwd, so I am avoiding that situation. If anyone knows of a > way to use /etc/master.passwd while stripping anything <UID1000, that would > also be nice. > > Thanks in advance (and for the previous help!), > Ben Vaughn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990710030756.8F70572501>