On Sun, 23 Dec 2001, Ian Chilton wrote:

| Sorry for another off-topic post.
|
| I am creating a user on the command line with:
|
| pw useradd myusername -g mygroup -s /sbin/nologin -c description
|
| I now need a way of setting the password on this account, but it must
| be none-interactive as I want to call it from a Perl script.
|
| Any ideas?

Read the pw man page and look for the '-h' option.


Regards
+------
Dan Larsson  -+- Tyfon Svenska AB -+-  DL1999-RIPE
2AA5 90AE 5185 5924 1E0B  1A99 EC8A EA84 406B 06B9


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to