aboutsummaryrefslogtreecommitdiff
path: root/toys/lsb
diff options
context:
space:
mode:
Diffstat (limited to 'toys/lsb')
-rw-r--r--toys/lsb/passwd.c1
-rw-r--r--toys/lsb/su.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/toys/lsb/passwd.c b/toys/lsb/passwd.c
index c92fb0d7..ca98f2ef 100644
--- a/toys/lsb/passwd.c
+++ b/toys/lsb/passwd.c
@@ -10,6 +10,7 @@ USE_PASSWD(NEWTOY(passwd, ">1a:dlu", TOYFLAG_STAYROOT|TOYFLAG_USR|TOYFLAG_BIN))
config PASSWD
bool "passwd"
default y
+ depends on TOYBOX_SHADOW
help
usage: passwd [-a ALGO] [-dlu] <account name>
diff --git a/toys/lsb/su.c b/toys/lsb/su.c
index 268ddf75..616541b9 100644
--- a/toys/lsb/su.c
+++ b/toys/lsb/su.c
@@ -10,6 +10,7 @@ USE_SU(NEWTOY(su, "lmpc:s:", TOYFLAG_BIN|TOYFLAG_ROOTONLY))
config SU
bool "su"
default y
+ depends on TOYBOX_SHADOW
help
usage: su [-lmp] [-c CMD] [-s SHELL] [USER [ARGS...]]