mcjones.ca

Making a Password Hash for user add

HASH=$(mkpasswd -m sha-512)

useradd -mp "${HASH}" -G sudo username