adding NIS users and create homedir

Antoine Jacoutot ajacoutot at lphp.org
Mon Aug 18 04:20:07 PDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi !

I'm trying to add NIS users using the following command:

pw -V /var/yp/src/nisdomain useradd -n username -u 15001,20000 -i 15001,20000 
- -w no -c "Real Name" -d /home/username -m -s /bin/sh

It works well except that the user's home directory does not get created :(
Where did I do wrong ?

Thanks in advance.

- -- 
Antoine Jacoutot
ajacoutot at lphp.org
http://www.lphp.org
PGP/GnuPG key: http://www.lphp.org/ressources/ajacoutot.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/QLIWY3Hnhkr+5cQRAqrAAJ4hxgKbwj6eWHT1GT5vGvsB0SnskQCcD5zz
+geGb2YIbgcsuLET43yYEG0=
=eksB
-----END PGP SIGNATURE-----



More information about the freebsd-questions mailing list