diff options
author | Denys Vlasenko | 2017-01-20 19:47:49 +0100 |
---|---|---|
committer | Denys Vlasenko | 2017-01-20 19:47:49 +0100 |
commit | 9731ca7611e19827702eb8c690fb6c3b37403319 (patch) | |
tree | 703d8fbaf75e872fca83ca1e57e830eaeff1aace /loginutils/passwd.c | |
parent | 38972a8df1df970a5878bbd7fc5ef6259f1168ab (diff) | |
download | busybox-9731ca7611e19827702eb8c690fb6c3b37403319.zip busybox-9731ca7611e19827702eb8c690fb6c3b37403319.tar.gz |
password utils: improve --help, make DEFAULT_PASSWD_ALGO visible if CHPASSWD
Was:
$ cryptpw --help
...
Print crypt(3) hashed PASSWORD
-P,--password-fd=N Read password from fd N
-m,--method=TYPE Encryption method
-S,--salt=SALT
User: "What methods exist? which one os default?"
Now:
Print crypt(3) hashed PASSWORD
-P,--password-fd N Read password from fd N
-m,--method TYPE des,md5,sha256/512 (default des)
-S,--salt SALT
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'loginutils/passwd.c')
-rw-r--r-- | loginutils/passwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/passwd.c b/loginutils/passwd.c index 52b66ca..b7b7423 100644 --- a/loginutils/passwd.c +++ b/loginutils/passwd.c @@ -32,7 +32,7 @@ //usage:#define passwd_full_usage "\n\n" //usage: "Change USER's password (default: current user)" //usage: "\n" -//usage: "\n -a ALG Encryption method" +//usage: "\n -a ALG "CRYPT_METHODS_HELP_STR //usage: "\n -d Set password to ''" //usage: "\n -l Lock (disable) account" //usage: "\n -u Unlock (enable) account" |