aboutsummaryrefslogtreecommitdiff
path: root/loginutils/Config.src
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2012-01-08 16:44:37 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2012-01-08 16:44:37 +0100
commitd45efd3a9f6854ab662afe272aeae5779300b126 (patch)
treeda55232b26da14f80665c5783f23c97dc94fb339 /loginutils/Config.src
parent3e0c428c45fdb7ec51bd3c8ee1f072385d2e62ac (diff)
downloadbusybox-d45efd3a9f6854ab662afe272aeae5779300b126.tar.gz
passwd,cryptpw: make default encryption algorithm configurable
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'loginutils/Config.src')
-rw-r--r--loginutils/Config.src7
1 files changed, 7 insertions, 0 deletions
diff --git a/loginutils/Config.src b/loginutils/Config.src
index 14ce53434..9bf79afee 100644
--- a/loginutils/Config.src
+++ b/loginutils/Config.src
@@ -283,6 +283,13 @@ config CHPASSWD
Reads a file of user name and password pairs from standard input
and uses this information to update a group of existing users.
+config FEATURE_DEFAULT_PASSWD_ALGO
+ string "Default password encryption method (passwd -a, cryptpw -m parameter)"
+ default "des"
+ depends on PASSWD || CRYPTPW
+ help
+ Possible choices are "d[es]", "m[d5]", "s[ha256]" or "sha512".
+
config SU
bool "su"
default y