diff options
Diffstat (limited to 'loginutils')
-rw-r--r-- | loginutils/sulogin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/loginutils/sulogin.c b/loginutils/sulogin.c index d5a463cac..27ea5dff0 100644 --- a/loginutils/sulogin.c +++ b/loginutils/sulogin.c | |||
@@ -12,7 +12,7 @@ | |||
12 | //config: sulogin is invoked when the system goes into single user | 12 | //config: sulogin is invoked when the system goes into single user |
13 | //config: mode (this is done through an entry in inittab). | 13 | //config: mode (this is done through an entry in inittab). |
14 | 14 | ||
15 | //applet:IF_SULOGIN(APPLET(sulogin, BB_DIR_SBIN, BB_SUID_DROP)) | 15 | //applet:IF_SULOGIN(APPLET_NOEXEC(sulogin, sulogin, BB_DIR_SBIN, BB_SUID_DROP, sulogin)) |
16 | 16 | ||
17 | //kbuild:lib-$(CONFIG_SULOGIN) += sulogin.o | 17 | //kbuild:lib-$(CONFIG_SULOGIN) += sulogin.o |
18 | 18 | ||
@@ -34,7 +34,7 @@ int sulogin_main(int argc UNUSED_PARAM, char **argv) | |||
34 | 34 | ||
35 | /* Note: sulogin is not a suid app. It is meant to be run by init | 35 | /* Note: sulogin is not a suid app. It is meant to be run by init |
36 | * for single user / emergency mode. init starts it as root. | 36 | * for single user / emergency mode. init starts it as root. |
37 | * Normal users (potentially malisious ones) can only run it under | 37 | * Normal users (potentially malicious ones) can only run it under |
38 | * their UID, therefore no paranoia here is warranted: | 38 | * their UID, therefore no paranoia here is warranted: |
39 | * $LD_LIBRARY_PATH in env, TTY = /dev/sda | 39 | * $LD_LIBRARY_PATH in env, TTY = /dev/sda |
40 | * are no more dangerous here than in e.g. cp applet. | 40 | * are no more dangerous here than in e.g. cp applet. |