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 <[email protected]> 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 > > _______________________________________________ > [email protected] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[email protected]" > _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[email protected]"
