make user use a more secure password encryption

axtloss/rework-partitioning
axtloss 2 years ago committed by GitHub
parent 72d28ba68e
commit fc8f06b8ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -225,7 +225,7 @@ pub struct NewUserArgs {
#[clap(long, aliases=&["has-root", "sudoer", "root"])]
pub hasroot: bool,
/// The password to set. NOTE: Takes hashed password, use `openssl passwd -1 <password>` to generate the hash.
/// The password to set. NOTE: Takes hashed password, use `openssl passwd -6 <password>` to generate the hash.
/// When not providing a password openssl jumps into an interactive masked input mode allowing you to hide your password
/// from the terminal history.
pub password: String,

Loading…
Cancel
Save