Date: Tue, 30 Aug 2011 11:32:22 -0700 From: Michael Sierchio <kudzu@tenebras.com> To: Michael <mlmichael70@gmail.com> Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: random generated password Message-ID: <CAHu1Y72RGC5K2FPYk2Fq28zNkypAfg8YJrL=AQ6ht2S6wzf_nA@mail.gmail.com> In-Reply-To: <4E5D28E0.5050700@gmail.com> References: <4E5D28E0.5050700@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHu1Y72RGC5K2FPYk2Fq28zNkypAfg8YJrL=AQ6ht2S6wzf_nA>