[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [SLUG] MD5 passwords
On Mon, Jun 18, 2001 at 09:44:17AM +0000, Herbert Xu wrote:
> John Ferlito <email@example.com> wrote:
> > Anyone know of anything similar to makepasswd which will encrypt a
> > password and give you the MD5 encrypted result. ie something I can pass
> > to usermod -p. Even a snippet of perl code or a pointer to the algorithm
> > so I can write some perl code would do.
> What's wrong with chpasswd?
I don't want to change the passwords. Just want the encrypted
version to distribute about with cfengine. ie I don't want plaintext
passwords sitting about in files on the config server.
Anyway those perl snippets did the trick. Thanks guys.
Senior Engineer - Bulletproof Networks
ph: +61 (0) 410 519 382
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug