Fresh fixes for rdc from sn9, thanks !
[openwrt.git] / package / busybox / config / loginutils / Config.in
index 621d576..6171d02 100644 (file)
@@ -14,7 +14,7 @@ config BUSYBOX_CONFIG_FEATURE_SHADOWPASSWDS
          publicly readable.
 
 config BUSYBOX_CONFIG_USE_BB_SHADOW
          publicly readable.
 
 config BUSYBOX_CONFIG_USE_BB_SHADOW
-       bool #"  Use busybox shadow password functions"
+       bool "  Use busybox shadow password functions"
        default n
        depends on BUSYBOX_CONFIG_USE_BB_PWD_GRP && BUSYBOX_CONFIG_FEATURE_SHADOWPASSWDS
        help
        default n
        depends on BUSYBOX_CONFIG_USE_BB_PWD_GRP && BUSYBOX_CONFIG_FEATURE_SHADOWPASSWDS
        help
@@ -80,18 +80,19 @@ config BUSYBOX_CONFIG_DELUSER
 config BUSYBOX_CONFIG_GETTY
        bool "getty"
        default n
 config BUSYBOX_CONFIG_GETTY
        bool "getty"
        default n
+       select BUSYBOX_CONFIG_FEATURE_SYSLOG
        help
          getty lets you log in on a tty, it is normally invoked by init.
 
 config BUSYBOX_CONFIG_FEATURE_UTMP
        help
          getty lets you log in on a tty, it is normally invoked by init.
 
 config BUSYBOX_CONFIG_FEATURE_UTMP
-       bool "  Support utmp file"
+       bool "Support utmp file"
        depends on BUSYBOX_CONFIG_GETTY || BUSYBOX_CONFIG_LOGIN || BUSYBOX_CONFIG_SU || BUSYBOX_CONFIG_WHO
        default n
        help
          The file /var/run/utmp is used to track who is currently logged in.
 
 config BUSYBOX_CONFIG_FEATURE_WTMP
        depends on BUSYBOX_CONFIG_GETTY || BUSYBOX_CONFIG_LOGIN || BUSYBOX_CONFIG_SU || BUSYBOX_CONFIG_WHO
        default n
        help
          The file /var/run/utmp is used to track who is currently logged in.
 
 config BUSYBOX_CONFIG_FEATURE_WTMP
-       bool "  Support wtmp file"
+       bool "Support wtmp file"
        depends on BUSYBOX_CONFIG_GETTY || BUSYBOX_CONFIG_LOGIN || BUSYBOX_CONFIG_SU || BUSYBOX_CONFIG_LAST
        default n
        select BUSYBOX_CONFIG_FEATURE_UTMP
        depends on BUSYBOX_CONFIG_GETTY || BUSYBOX_CONFIG_LOGIN || BUSYBOX_CONFIG_SU || BUSYBOX_CONFIG_LAST
        default n
        select BUSYBOX_CONFIG_FEATURE_UTMP
@@ -103,14 +104,23 @@ config BUSYBOX_CONFIG_LOGIN
        bool "login"
        default n
        select BUSYBOX_CONFIG_FEATURE_SUID
        bool "login"
        default n
        select BUSYBOX_CONFIG_FEATURE_SUID
+       select BUSYBOX_CONFIG_FEATURE_SYSLOG
        help
          login is used when signing onto a system.
 
          Note that Busybox binary must be setuid root for this applet to
          work properly.
 
        help
          login is used when signing onto a system.
 
          Note that Busybox binary must be setuid root for this applet to
          work properly.
 
+config BUSYBOX_CONFIG_LOGIN_SCRIPTS
+       bool "Support for login scripts"
+       depends on BUSYBOX_CONFIG_LOGIN
+       default n
+       help
+         Enable this if you want login to execute $LOGIN_PRE_SUID_SCRIPT
+         just prior to switching from root to logged-in user.
+
 config BUSYBOX_CONFIG_FEATURE_SECURETTY
 config BUSYBOX_CONFIG_FEATURE_SECURETTY
-       bool "  Support for /etc/securetty"
+       bool "Support for /etc/securetty"
        default n
        depends on BUSYBOX_CONFIG_LOGIN
        help
        default n
        depends on BUSYBOX_CONFIG_LOGIN
        help
@@ -122,6 +132,7 @@ config BUSYBOX_CONFIG_PASSWD
        bool "passwd"
        default y
        select BUSYBOX_CONFIG_FEATURE_SUID
        bool "passwd"
        default y
        select BUSYBOX_CONFIG_FEATURE_SUID
+       select BUSYBOX_CONFIG_FEATURE_SYSLOG
        help
          passwd changes passwords for user and group accounts.  A normal user
          may only change the password for his/her own account, the super user
        help
          passwd changes passwords for user and group accounts.  A normal user
          may only change the password for his/her own account, the super user
@@ -131,10 +142,18 @@ config BUSYBOX_CONFIG_PASSWD
          Note that Busybox binary must be setuid root for this applet to
          work properly.
 
          Note that Busybox binary must be setuid root for this applet to
          work properly.
 
+config BUSYBOX_CONFIG_FEATURE_PASSWD_WEAK_CHECK
+       bool "Check new passwords for weakness"
+       default y
+       depends on BUSYBOX_CONFIG_PASSWD
+       help
+         With this option passwd will refuse new passwords which are "weak".
+
 config BUSYBOX_CONFIG_SU
        bool "su"
        default n
        select BUSYBOX_CONFIG_FEATURE_SUID
 config BUSYBOX_CONFIG_SU
        bool "su"
        default n
        select BUSYBOX_CONFIG_FEATURE_SUID
+       select BUSYBOX_CONFIG_FEATURE_SYSLOG
        help
          su is used to become another user during a login session.
          Invoked without a username, su defaults to becoming the super user.
        help
          su is used to become another user during a login session.
          Invoked without a username, su defaults to becoming the super user.
@@ -142,9 +161,20 @@ config BUSYBOX_CONFIG_SU
          Note that Busybox binary must be setuid root for this applet to
          work properly.
 
          Note that Busybox binary must be setuid root for this applet to
          work properly.
 
+config BUSYBOX_CONFIG_FEATURE_SU_SYSLOG
+       bool "Enable su to write to syslog"
+       default n
+       depends on BUSYBOX_CONFIG_SU
+
+config BUSYBOX_CONFIG_FEATURE_SU_CHECKS_SHELLS
+       bool "Enable su to check user's shell to be listed in /etc/shells"
+       depends on BUSYBOX_CONFIG_SU
+       default n
+
 config BUSYBOX_CONFIG_SULOGIN
        bool "sulogin"
        default n
 config BUSYBOX_CONFIG_SULOGIN
        bool "sulogin"
        default n
+       select BUSYBOX_CONFIG_FEATURE_SYSLOG
        help
          sulogin is invoked when the system goes into single user
          mode (this is done through an entry in inittab).
        help
          sulogin is invoked when the system goes into single user
          mode (this is done through an entry in inittab).
This page took 0.025573 seconds and 4 git commands to generate.