Date: Thu, 03 May 2001 14:24:00 +0100 From: Matthew Seaman <matthew.seaman@tornadogroup.com> To: Brian Tiemann <btman@mac.com> Cc: freebsd-security@FreeBSD.ORG Subject: Re: useradd/adduser Message-ID: <3AF15BF0.1AF76CF@tornadogroup.com> References: <200105021707.KAA06632@smtpout.mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Brian Tiemann wrote: > Okay, so... maybe I'm missing something, but how does one go about > encrypting the password in a way compatible with master.passwd? Straight > md5 doesn't do it... how do you get the "$1$7tGUS$teGz..." string? perl -e 'print crypt("plaintext", "\$1\$saltxxxx"), "\n"' Where `saltxxx' should typically be 8 random characters from the set [./0-9A-Za-z] Matthew -- Matthew Seaman Tel: 01628 498661 Certe, Toto, sentio nos in Kansate non iam adesse. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AF15BF0.1AF76CF>