random generated password

Michael mlmichael70 at gmail.com
Fri Sep 2 21:19:10 UTC 2011


On 30/08/2011 19:30, Mike Tancsa wrote:
>>
>> Preferably in a non-interactive and scriptable way. Is it possible with
>> the base system tools?
>
> 0(ich10)# pw usermod testuser1 -w random
> Password for 'testuser1' is: km.y0LScI3p1
> 0(ich10)# pw usermod testuser1 -w random
> Password for 'testuser1' is: P5RrhmUl4Np2
> 0(ich10)#
>

Perfect, exactly what I was looking for, thank you.

Michael


More information about the freebsd-questions mailing list