diff options
Diffstat (limited to 'loginutils')
| -rw-r--r-- | loginutils/Config.src | 2 | ||||
| -rw-r--r-- | loginutils/addgroup.c | 6 | ||||
| -rw-r--r-- | loginutils/adduser.c | 2 | ||||
| -rw-r--r-- | loginutils/deluser.c | 2 | ||||
| -rw-r--r-- | loginutils/login.c | 6 | ||||
| -rw-r--r-- | loginutils/su.c | 9 |
6 files changed, 11 insertions, 16 deletions
diff --git a/loginutils/Config.src b/loginutils/Config.src index efb954b6c..beb4eb855 100644 --- a/loginutils/Config.src +++ b/loginutils/Config.src | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | menu "Login/Password Management Utilities" | 6 | menu "Login/Password Management Utilities" |
| 7 | 7 | ||
| 8 | config FEATURE_SHADOWPASSWDS | 8 | config FEATURE_SHADOWPASSWDS |
| 9 | bool "Support for shadow passwords" | 9 | bool "Support shadow passwords" |
| 10 | default y | 10 | default y |
| 11 | help | 11 | help |
| 12 | Build support for shadow password in /etc/shadow. This file is only | 12 | Build support for shadow password in /etc/shadow. This file is only |
diff --git a/loginutils/addgroup.c b/loginutils/addgroup.c index 6b2fd7ba9..94da4efbb 100644 --- a/loginutils/addgroup.c +++ b/loginutils/addgroup.c | |||
| @@ -19,15 +19,13 @@ | |||
| 19 | //config: bool "Enable long options" | 19 | //config: bool "Enable long options" |
| 20 | //config: default y | 20 | //config: default y |
| 21 | //config: depends on ADDGROUP && LONG_OPTS | 21 | //config: depends on ADDGROUP && LONG_OPTS |
| 22 | //config: help | ||
| 23 | //config: Support long options for the addgroup applet. | ||
| 24 | //config: | 22 | //config: |
| 25 | //config:config FEATURE_ADDUSER_TO_GROUP | 23 | //config:config FEATURE_ADDUSER_TO_GROUP |
| 26 | //config: bool "Support for adding users to groups" | 24 | //config: bool "Support adding users to groups" |
| 27 | //config: default y | 25 | //config: default y |
| 28 | //config: depends on ADDGROUP | 26 | //config: depends on ADDGROUP |
| 29 | //config: help | 27 | //config: help |
| 30 | //config: If called with two non-option arguments, | 28 | //config: If called with two non-option arguments, |
| 31 | //config: addgroup will add an existing user to an | 29 | //config: addgroup will add an existing user to an |
| 32 | //config: existing group. | 30 | //config: existing group. |
| 33 | 31 | ||
diff --git a/loginutils/adduser.c b/loginutils/adduser.c index 608fb8437..c218ac4aa 100644 --- a/loginutils/adduser.c +++ b/loginutils/adduser.c | |||
| @@ -17,8 +17,6 @@ | |||
| 17 | //config: bool "Enable long options" | 17 | //config: bool "Enable long options" |
| 18 | //config: default y | 18 | //config: default y |
| 19 | //config: depends on ADDUSER && LONG_OPTS | 19 | //config: depends on ADDUSER && LONG_OPTS |
| 20 | //config: help | ||
| 21 | //config: Support long options for the adduser applet. | ||
| 22 | //config: | 20 | //config: |
| 23 | //config:config FEATURE_CHECK_NAMES | 21 | //config:config FEATURE_CHECK_NAMES |
| 24 | //config: bool "Enable sanity check on user/group names in adduser and addgroup" | 22 | //config: bool "Enable sanity check on user/group names in adduser and addgroup" |
diff --git a/loginutils/deluser.c b/loginutils/deluser.c index 7c3caf9e3..fbb1614fb 100644 --- a/loginutils/deluser.c +++ b/loginutils/deluser.c | |||
| @@ -21,7 +21,7 @@ | |||
| 21 | //config: Utility for deleting a group account. | 21 | //config: Utility for deleting a group account. |
| 22 | //config: | 22 | //config: |
| 23 | //config:config FEATURE_DEL_USER_FROM_GROUP | 23 | //config:config FEATURE_DEL_USER_FROM_GROUP |
| 24 | //config: bool "Support for removing users from groups" | 24 | //config: bool "Support removing users from groups" |
| 25 | //config: default y | 25 | //config: default y |
| 26 | //config: depends on DELGROUP | 26 | //config: depends on DELGROUP |
| 27 | //config: help | 27 | //config: help |
diff --git a/loginutils/login.c b/loginutils/login.c index 3ca8213bb..d1757a65d 100644 --- a/loginutils/login.c +++ b/loginutils/login.c | |||
| @@ -24,7 +24,7 @@ | |||
| 24 | //config: will not be cleaned up. | 24 | //config: will not be cleaned up. |
| 25 | //config: | 25 | //config: |
| 26 | //config:config LOGIN_SCRIPTS | 26 | //config:config LOGIN_SCRIPTS |
| 27 | //config: bool "Support for login scripts" | 27 | //config: bool "Support login scripts" |
| 28 | //config: depends on LOGIN | 28 | //config: depends on LOGIN |
| 29 | //config: default y | 29 | //config: default y |
| 30 | //config: help | 30 | //config: help |
| @@ -32,7 +32,7 @@ | |||
| 32 | //config: just prior to switching from root to logged-in user. | 32 | //config: just prior to switching from root to logged-in user. |
| 33 | //config: | 33 | //config: |
| 34 | //config:config FEATURE_NOLOGIN | 34 | //config:config FEATURE_NOLOGIN |
| 35 | //config: bool "Support for /etc/nologin" | 35 | //config: bool "Support /etc/nologin" |
| 36 | //config: default y | 36 | //config: default y |
| 37 | //config: depends on LOGIN | 37 | //config: depends on LOGIN |
| 38 | //config: help | 38 | //config: help |
| @@ -40,7 +40,7 @@ | |||
| 40 | //config: If it exists, non-root logins are prohibited. | 40 | //config: If it exists, non-root logins are prohibited. |
| 41 | //config: | 41 | //config: |
| 42 | //config:config FEATURE_SECURETTY | 42 | //config:config FEATURE_SECURETTY |
| 43 | //config: bool "Support for /etc/securetty" | 43 | //config: bool "Support /etc/securetty" |
| 44 | //config: default y | 44 | //config: default y |
| 45 | //config: depends on LOGIN | 45 | //config: depends on LOGIN |
| 46 | //config: help | 46 | //config: help |
diff --git a/loginutils/su.c b/loginutils/su.c index 24ffbde86..d04b85fb1 100644 --- a/loginutils/su.c +++ b/loginutils/su.c | |||
| @@ -11,19 +11,18 @@ | |||
| 11 | //config: help | 11 | //config: help |
| 12 | //config: su is used to become another user during a login session. | 12 | //config: su is used to become another user during a login session. |
| 13 | //config: Invoked without a username, su defaults to becoming the super user. | 13 | //config: Invoked without a username, su defaults to becoming the super user. |
| 14 | //config: | 14 | //config: Note that busybox binary must be setuid root for this applet to |
| 15 | //config: Note that Busybox binary must be setuid root for this applet to | ||
| 16 | //config: work properly. | 15 | //config: work properly. |
| 17 | //config: | 16 | //config: |
| 18 | //config:config FEATURE_SU_SYSLOG | 17 | //config:config FEATURE_SU_SYSLOG |
| 19 | //config: bool "Enable su to write to syslog" | 18 | //config: bool "Log to syslog all attempts to use su" |
| 20 | //config: default y | 19 | //config: default y |
| 21 | //config: depends on SU | 20 | //config: depends on SU |
| 22 | //config: | 21 | //config: |
| 23 | //config:config FEATURE_SU_CHECKS_SHELLS | 22 | //config:config FEATURE_SU_CHECKS_SHELLS |
| 24 | //config: bool "Enable su to check user's shell to be listed in /etc/shells" | 23 | //config: bool "If user's shell is not in /etc/shells, disallow -s PROG" |
| 25 | //config: depends on SU | ||
| 26 | //config: default y | 24 | //config: default y |
| 25 | //config: depends on SU | ||
| 27 | 26 | ||
| 28 | //applet:/* Needs to be run by root or be suid root - needs to change uid and gid: */ | 27 | //applet:/* Needs to be run by root or be suid root - needs to change uid and gid: */ |
| 29 | //applet:IF_SU(APPLET(su, BB_DIR_BIN, BB_SUID_REQUIRE)) | 28 | //applet:IF_SU(APPLET(su, BB_DIR_BIN, BB_SUID_REQUIRE)) |
