From fc8f06b8aceec7cdb0b625a237661fe7274b6046 Mon Sep 17 00:00:00 2001 From: axtloss Date: Wed, 6 Jul 2022 14:01:09 +0200 Subject: [PATCH] make user use a more secure password encryption --- src/args.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/args.rs b/src/args.rs index 3bdf1aa..009a3e9 100644 --- a/src/args.rs +++ b/src/args.rs @@ -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 ` to generate the hash. + /// The password to set. NOTE: Takes hashed password, use `openssl passwd -6 ` 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,