Date: Wed, 28 Jun 2000 10:30:00 -0500 From: Glenn Johnson <gjohnson@nola.srrc.usda.gov> To: Paje da Oca <root@maloca.oca.org.br> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Adding users in NIS domain Message-ID: <20000628103000.B63423@node1.cluster.srrc.usda.gov> In-Reply-To: <20000627201335.B424@dialin-client.earthlink.net>; from cristjc@earthlink.net on Tue, Jun 27, 2000 at 08:13:36PM -0700 References: <Pine.BSF.4.21.0006272209580.28213-100000@maloca.oca.org.br> <20000627201335.B424@dialin-client.earthlink.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 27, 2000 at 08:13:36PM -0700, Crist J. Clark wrote: > On Tue, Jun 27, 2000 at 10:13:14PM -0300, Paje da Oca wrote: > > > Is there any script or other tool to add users to the master server > > in a NIS domain? (Something as "adduser" for a "normal" machine). Or > > should I hack adduser? man pw(8). There is information about doing this. The -Y option is what you will need but you also need to make sure it knows where master.passwd is, either in /etc or /var/yp for instance. I keep mine in /var/yp so I set up /etc/pw.conf to have the entry "nispasswd /var/yp/master.passwd". You could then do something like "pw useradd [options] -Y" Hope this helps. -- Glenn Johnson USDA, ARS, SRRC Phone: (504) 286-4252 New Orleans, LA 70124 e-mail: gjohnson@nola.srrc.usda.gov To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000628103000.B63423>