random generated password

Michael Sierchio kudzu at tenebras.com
Tue Aug 30 18:32:24 UTC 2011

Presumably you're doing this to prevent direct login?

chpass allows root to set the encrypted password directly

chpass -p '$1$123456789$your-random-chars-here'

On Tue, Aug 30, 2011 at 11:16 AM, Michael <mlmichael70 at gmail.com> wrote:
> Hello,
> When adding a new user it is possible to assign a random generated password.
> But is it possible to assign a random password for already existing users?
> Preferably in a non-interactive and scriptable way. Is it possible with the
> base system tools?
> Michael
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

More information about the freebsd-questions mailing list