[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
howto ecrypt passwords for adduser -batch
Hi,
The adduser manpage states: "Enter batch mode in which multiple users are
specified on the command-line in a compact format. By default the password
is assumed to already be properly encrypted."
My /etc/login.conf file has the line "localcipher=blowfish,6:\"
I assume that I must use the blowfish algorithm with 6 rounds to encrypt the
password prior to using adduser -batch
How do I encrypt the password with blowfish using 6 rounds, and do I need a
key?