summaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
authorRobert Griebl2002-06-04 20:45:46 +0000
committerRobert Griebl2002-06-04 20:45:46 +0000
commit1fca558799350fb6caff97f55aa6d1237b08fccb (patch)
treebd211c50ca4a34fd4c6317696c62564fb77171e9 /include/usage.h
parentea1a63a2011a44b143cc46c7d80a8152f5358e24 (diff)
downloadbusybox-1fca558799350fb6caff97f55aa6d1237b08fccb.zip
busybox-1fca558799350fb6caff97f55aa6d1237b08fccb.tar.gz
Bigger patch for (partial) tinylogin integration
- Made a new dir loginutils - Moved all applets from pwd_grp to loginutils - Added new applets su.c login.c to loginutils - Made a new dir libpwdgrp - Moved everything from pwd_grp/libpwd_grp there - Added shadow.c to libpwdgrp - Removed dir pwd_grp - Added usage strings for login and su to usage.h - Changed main Makefile to reflect the dir rearrangements [Parts of this patch may overlap with my other two patches]
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h
index 823d952..08ee00d 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -978,6 +978,15 @@
#define logger_example_usage \
"$ logger "hello"\n"
+#define login_trivial_usage \
+ "[OPTION]... [username] [ENV=VAR ...]"
+#define login_full_usage \
+ "Begin a new session on the system\n\n" \
+ "Options:\n" \
+ "\t-f\tDo not authenticate (user already authenticated)\n" \
+ "\t-h\tName of the remote host for this login.\n" \
+ "\t-p\tPreserve environment."
+
#define logname_trivial_usage \
""
#define logname_full_usage \
@@ -1570,6 +1579,13 @@
"\n\t-g\t\tprint in stty-readable form" \
"\n\t[SETTING]\tsee manpage"
+#define su_trivial_usage \
+ "[OPTION]... [-] [username]"
+#define su_full_usage \
+ "Change user id or become root.\n" \
+ "Options:\n" \
+ "\t-p\tPreserve environment"
+
#define swapoff_trivial_usage \
"[OPTION] [DEVICE]"
#define swapoff_full_usage \