aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-06-21 20:03:07 +0000
committerEric Andersen <andersen@codepoet.org>2003-06-21 20:03:07 +0000
commitf0f754aeaf47b416abba8206dd2632cf24bb94a3 (patch)
tree35490bf58aa4b99b4b9c97e37c3bf5beb92b5168 /include
parent9d9cecfd633b58fb493e5ab9f9472ada7f772627 (diff)
downloadbusybox-f0f754aeaf47b416abba8206dd2632cf24bb94a3.tar.gz
Based on a tinylogin patch from Philip Blundell, add several
additional options to adduser. -Erik
Diffstat (limited to 'include')
-rw-r--r--include/usage.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/usage.h b/include/usage.h
index 9b5f484c1..d60a4dc78 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -10,9 +10,13 @@
#define adduser_full_usage \
"Adds a user to the system" \
"Options:\n" \
- "\t-h\t\thome directory\n" \
- "\t-s\t\tshell\n" \
- "\t-g\t\tGECOS string\n"
+ "\t-h DIR\t\tAssign home directory DIR\n" \
+ "\t-g GECOS\t\tAssign gecos field GECOS\n" \
+ "\t-s SHELL\t\tAssign login shell SHELL\n" \
+ "\t-G\t\tAdd the user to existing group GROUP\n" \
+ "\t-S\t\tcreate a system user (ignored)\n" \
+ "\t-D\t\tDo not assign a password (logins still possible via ssh)\n" \
+ "\t-H\t\tDo not create the home directory\n"
#define adjtimex_trivial_usage \
"[-q] [-o offset] [-f frequency] [-p timeconstant] [-t tick]"