[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: howto ecrypt passwords for adduser -batch
> /usr/bin/encrypt should do what you want. depending on the exact contents
> of /etc/login.conf, you may not need to pass any args.
Thanks, Out of interest I have a couple more questions:
1. if I enter encrypt -b 7 'password' I get different hashes. how am I able
to authenticate the hash using my password as input?
2. My login.conf contains for default
:localcipher=blowfish,6:\ (6 rounds)
and for daemon
:localcipher=blowfish,8:\ (8 rounds)
Why do my entries in master.passwd require 7 rounds ie:
user:$2a$07$cipertext