OT: Setting password from command line

[ Available lists | Index of freebsd-stable | Month of Dec 2001 | Week of 23 Dec 2001 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Ian Chilton <ian@ichilton.co.uk>
Date
23 Dec 2001 15:33:35
Subject
OT: Setting password from command line
Message-ID
20011223233327.B13474@woody.ichilton.co.uk

Referenced by

[ Hide this part ]
Hello,

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?


Thanks

Ian


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Elapsed time: 0.065 seconds