tftpd: new applet (mostly using existing code for tftp)
[oweals/busybox.git] / loginutils / Config.in
index 2ad1415118c95ab201f769b54bcfa56e9376f7f0..6ee154c6103eeeabb73a90ac69277c2b81bddc5e 100644 (file)
@@ -59,18 +59,42 @@ config ADDGROUP
        help
          Utility for creating a new group account.
 
+config FEATURE_ADDUSER_TO_GROUP
+       bool "Support for adding users to groups"
+       default n
+       depends on ADDGROUP
+       help
+         If  called  with two non-option arguments,
+         addgroup will add an existing user to an
+         existing group.
+
 config DELGROUP
        bool "delgroup"
        default n
        help
          Utility for deleting a group account.
 
+config FEATURE_DEL_USER_FROM_GROUP
+       bool "Support for removing users from groups."
+       default n
+       depends on DELGROUP
+       help
+         If called with two non-option arguments, deluser
+         or delgroup will remove an user from a specified group.
+
 config ADDUSER
        bool "adduser"
        default n
        help
          Utility for creating a new user account.
 
+config FEATURE_ADDUSER_LONG_OPTIONS
+       bool "Enable long options"
+       default n
+       depends on ADDUSER && GETOPT_LONG
+       help
+         Support long options for the adduser applet.
+
 config DELUSER
        bool "deluser"
        default n
@@ -111,6 +135,13 @@ config LOGIN
          Note that Busybox binary must be setuid root for this applet to
          work properly.
 
+config PAM
+       bool "Support for PAM (Pluggable Authentication Modules)"
+       default n
+       depends on LOGIN
+       help
+         Use PAM in login(1) instead of direct access to password database.
+
 config LOGIN_SCRIPTS
        bool "Support for login scripts"
        depends on LOGIN
@@ -119,12 +150,20 @@ config LOGIN_SCRIPTS
          Enable this if you want login to execute $LOGIN_PRE_SUID_SCRIPT
          just prior to switching from root to logged-in user.
 
+config FEATURE_NOLOGIN
+       bool "Support for /etc/nologin"
+       default y
+       depends on LOGIN
+       help
+         The file /etc/nologin is used by (some versions of) login(1).
+         If it exists, non-root logins are prohibited.
+
 config FEATURE_SECURETTY
        bool "Support for /etc/securetty"
        default y
        depends on LOGIN
        help
-         The file  /etc/securetty  is used by (some versions of) login(1).
+         The file /etc/securetty is used by (some versions of) login(1).
          The file contains the device names of tty lines (one per line,
          without leading /dev/) on which root is allowed to login.
 
@@ -142,6 +181,27 @@ config PASSWD
          Note that Busybox binary must be setuid root for this applet to
          work properly.
 
+config FEATURE_PASSWD_WEAK_CHECK
+       bool "Check new passwords for weakness"
+       default y
+       depends on PASSWD
+       help
+         With this option passwd will refuse new passwords which are "weak".
+
+config CRYPTPW
+       bool "cryptpw"
+       default n
+       help
+         Applet for crypting a string.
+
+config CHPASSWD
+       bool "chpasswd"
+       default n
+       help
+         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 SU
        bool "su"
        default n
@@ -154,12 +214,15 @@ config SU
          Note that Busybox binary must be setuid root for this applet to
          work properly.
 
-config SU_SYSLOG
-       bool "Support for syslog in su"
+config FEATURE_SU_SYSLOG
+       bool "Enable su to write to syslog"
        default y
        depends on SU
-       help
-         Enables support for syslog in su.
+
+config FEATURE_SU_CHECKS_SHELLS
+       bool "Enable su to check user's shell to be listed in /etc/shells"
+       depends on SU
+       default y
 
 config SULOGIN
        bool "sulogin"