Sean Murphy <[EMAIL PROTECTED]> writes:
> When creating user accounts with adduser you can have the system
> generate a random password.
>
> Can you use a tool included in FreeBSD to change specific existing
> users passwords with a random one such as the one in adduser?
I've occasionally hacked something up along the lines of
"(date;netstat;netstat -i)|gzip|uuencode foo|head|tail -1"
and I suppose you could add something to remove unacceptable
characters and bring pw(8) into the equation.
> it would also be usefull to do this from a input file to do multiple users.
>
> The passwords I would need on the screen to give to the users.
>
> If not is there an open source one to do this?
The makepasswd port is certainly more evolved than my hack.
Scripting it with pw(8) can be an exercise for the moderately
experienced system administrator...
--
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"