[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: using {CRYPT} for rootpw, using SHA512?



Brian Reichert wrote:
> slappasswd -h '{CRYPT}' -s TestPass -c "$6$%.12s"

Don't use double quotes with literally dollar signs in there (shell variable!).

Use this:

$ slappasswd -h '{CRYPT}' -s 'TestPass' -c '$6$%.12s'
{CRYPT}$6$mf/KdGXjco8f$Q5Jd034r2gCUaHqAGu03MWqUN8jRvKFtfEgVjnMj/Hjof3k1cELHMJkcvU3kfq0YsdlTTDLFVeqI53F1ZgXGk.

Ciao, Michael.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature