Date: Sun, 3 Dec 2000 12:47:29 +1000 From: "Tim McCullagh" <timbo@halenet.com.au> To: <freebsd-questions@FreeBSD.ORG> Subject: Creating a pw.conf file Message-ID: <03a001c05cd3$64e8b100$6500a8c0@halenet.com.au>
next in thread | raw e-mail | index | archive | help
Hi
Can anyone tell me either how to create a pw.conf file or where to find the
documentation that would. I have man ed pw and pw.conf and I seem to be
missing something.
What I am trying to do is use the following comand within a perl script to
add a user.
"/usr/sbin/pw useradd -d $dir -m -s $shell -u $uid -n $username",
("echo $password | /usr/sbin/pw usermod $username -h fd")
It adds the user but will not insert the password bur rather inserts a *
instead
The pw command works, but I have no pw.conf file. Can anyone tell me where
it would be reading its defaults from.
thanks
Tim
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?03a001c05cd3$64e8b100$6500a8c0>
