Date: Wed, 20 Mar 2002 13:45:05 +0200 From: "Patrick O'Reilly" <bsd@perimeter.co.za> To: <freebsd-questions@FreeBSD.ORG>, "Martin Chandler" <chand@tvt.ne.jp> Subject: Re: pw -m with -V Message-ID: <00ae01c1d004$b1ffc320$b50d030a@patrick> References: <5.0.2.6.2.20020320202415.01eb66f0@mail.tvt.ne.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- From: "Martin Chandler" <chand@tvt.ne.jp> > Hi, > > I have been trying to add users to just the NIS password map on a NIS > server which is being kept separate from the regular password file. > > I have been using > > pw -V /var/yp useradd USER -m -Y > > to create the user. The password map is updated fine, but the user's home > directory in not being created. > If I run pw without the -V option the home directory is created no problem. > Is there something I am missing when implementing the -V option? Martin, You need to use -C so that pw will read your normal pw.conf file, and hence know where to create the user's home directory. Or, put a copy of /etc/pw.conf into /var/yp . man pw, and study the -V section for the explanation of this. Patrick. 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?00ae01c1d004$b1ffc320$b50d030a>