diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-22 21:35:52 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-22 21:35:52 +0000 |
commit | c2931aa2df2ddc6a627f3c40eb1cf5c221067092 (patch) | |
tree | 8b4b92c8c5bea933f7ea68302328bd17c0610b4a /include/usage.h | |
parent | c8d7109f6036fab6b5993c24fc6514ba0c6a7d3d (diff) | |
download | busybox-w32-c2931aa2df2ddc6a627f3c40eb1cf5c221067092.tar.gz busybox-w32-c2931aa2df2ddc6a627f3c40eb1cf5c221067092.tar.bz2 busybox-w32-c2931aa2df2ddc6a627f3c40eb1cf5c221067092.zip |
adduser/addgroup: support specifying uid/gid, add system
account creation mode. By Tito.
function old new delta
adduser_main 650 726 +76
addgroup_main 341 402 +61
addgroup_longopts - 16 +16
adduser_longopts 97 103 +6
packed_usage 26161 26163 +2
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 4/0 up/down: 161/0) Total: 161 bytes
Diffstat (limited to 'include/usage.h')
-rw-r--r-- | include/usage.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h index 9294e892c..7b88a2acc 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -39,6 +39,7 @@ | |||
39 | "Add a group " IF_FEATURE_ADDUSER_TO_GROUP("or add a user to a group") "\n" \ | 39 | "Add a group " IF_FEATURE_ADDUSER_TO_GROUP("or add a user to a group") "\n" \ |
40 | "\nOptions:" \ | 40 | "\nOptions:" \ |
41 | "\n -g GID Group id" \ | 41 | "\n -g GID Group id" \ |
42 | "\n -S Create a system group" \ | ||
42 | 43 | ||
43 | #define adduser_trivial_usage \ | 44 | #define adduser_trivial_usage \ |
44 | "[OPTIONS] user_name" | 45 | "[OPTIONS] user_name" |
@@ -52,6 +53,7 @@ | |||
52 | "\n -S Create a system user" \ | 53 | "\n -S Create a system user" \ |
53 | "\n -D Do not assign a password" \ | 54 | "\n -D Do not assign a password" \ |
54 | "\n -H Do not create home directory" \ | 55 | "\n -H Do not create home directory" \ |
56 | "\n -u UID User id" \ | ||
55 | 57 | ||
56 | #define adjtimex_trivial_usage \ | 58 | #define adjtimex_trivial_usage \ |
57 | "[-q] [-o offset] [-f frequency] [-p timeconstant] [-t tick]" | 59 | "[-q] [-o offset] [-f frequency] [-p timeconstant] [-t tick]" |