Cleanup shadow.h stuff so it behaves as intended
[people/mcb30/busybox.git] / loginutils / config.in
index b3880aa..1d8a986 100644 (file)
@@ -7,6 +7,7 @@ mainmenu_option next_comment
 comment 'Login/Password Management Utilities'
 
 
+bool 'Use internal password and group functions instead of the system functions'       CONFIG_USE_BB_PWD_GRP
 bool 'addgroup'                        CONFIG_ADDGROUP
 bool 'adduser'                 CONFIG_ADDUSER
 bool 'deluser'                 CONFIG_DELUSER
@@ -20,6 +21,9 @@ bool 'passwd'                 CONFIG_PASSWD
 bool 'su'                      CONFIG_SU
 if [ "$CONFIG_ADDUSER" = "y" -o "$CONFIG_DELUSER" = "y" -o "$CONFIG_LOGIN" = "y" -o "$CONFIG_SU" = "y" ]; then
     bool '  Support for shadow passwords'              CONFIG_FEATURE_SHADOWPASSWDS
+    if [ "$CONFIG_USE_BB_PWD_GRP" = "y" -a  "$CONFIG_FEATURE_SHADOWPASSWDS" = "y" ]; then
+       bool '  Use busybox shadow password functions'                  CONFIG_USE_BB_SHADOW
+    fi
 fi
 bool 'sulogin'                 CONFIG_SULOGIN
 bool 'vlock'                   CONFIG_VLOCK