aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobert Griebl <griebl@gmx.de>2002-06-04 20:45:46 +0000
committerRobert Griebl <griebl@gmx.de>2002-06-04 20:45:46 +0000
commit1fca558799350fb6caff97f55aa6d1237b08fccb (patch)
treebd211c50ca4a34fd4c6317696c62564fb77171e9 /include
parentea1a63a2011a44b143cc46c7d80a8152f5358e24 (diff)
downloadbusybox-w32-1fca558799350fb6caff97f55aa6d1237b08fccb.tar.gz
busybox-w32-1fca558799350fb6caff97f55aa6d1237b08fccb.tar.bz2
busybox-w32-1fca558799350fb6caff97f55aa6d1237b08fccb.zip
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')
-rw-r--r--include/usage.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h
index 823d95296..08ee00d77 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -978,6 +978,15 @@
978#define logger_example_usage \ 978#define logger_example_usage \
979 "$ logger "hello"\n" 979 "$ logger "hello"\n"
980 980
981#define login_trivial_usage \
982 "[OPTION]... [username] [ENV=VAR ...]"
983#define login_full_usage \
984 "Begin a new session on the system\n\n" \
985 "Options:\n" \
986 "\t-f\tDo not authenticate (user already authenticated)\n" \
987 "\t-h\tName of the remote host for this login.\n" \
988 "\t-p\tPreserve environment."
989
981#define logname_trivial_usage \ 990#define logname_trivial_usage \
982 "" 991 ""
983#define logname_full_usage \ 992#define logname_full_usage \
@@ -1570,6 +1579,13 @@
1570 "\n\t-g\t\tprint in stty-readable form" \ 1579 "\n\t-g\t\tprint in stty-readable form" \
1571 "\n\t[SETTING]\tsee manpage" 1580 "\n\t[SETTING]\tsee manpage"
1572 1581
1582#define su_trivial_usage \
1583 "[OPTION]... [-] [username]"
1584#define su_full_usage \
1585 "Change user id or become root.\n" \
1586 "Options:\n" \
1587 "\t-p\tPreserve environment"
1588
1573#define swapoff_trivial_usage \ 1589#define swapoff_trivial_usage \
1574 "[OPTION] [DEVICE]" 1590 "[OPTION] [DEVICE]"
1575#define swapoff_full_usage \ 1591#define swapoff_full_usage \