
with a different effective group. If the -g option is specified without -u the command will be run as the current user (only the group will change). the -g and -u options may be used together. TODO: implement runas group for ldap improve runas group documentation add testsudoers support
14 lines
656 B
C
14 lines
656 B
C
#ifndef _SUDO_USAGE_H
|
|
#define _SUDO_USAGE_H
|
|
|
|
/*
|
|
* Usage strings for sudo. These are here because we
|
|
* need to be able to substitute values from configure.
|
|
*/
|
|
#define SUDO_USAGE1 " -h | -K | -k | -L | -V | -v"
|
|
#define SUDO_USAGE2 " -l [-g groupname|#gid] [-U username] [-u username|#uid] [-g groupname|#gid] [command]"
|
|
#define SUDO_USAGE3 " [-bEHPS] @BSDAUTH_USAGE@[-C fd] @LOGINCAP_USAGE@[-g groupname|#gid] [-p prompt] [-u username|#uid] [-g groupname|#gid] [VAR=value] {-i | -s | <command>}"
|
|
#define SUDO_USAGE4 " -e [-S] @BSDAUTH_USAGE@[-C fd] @LOGINCAP_USAGE@[-g groupname|#gid] [-p prompt] [-u username|#uid] file ..."
|
|
|
|
#endif /* _SUDO_USAGE_H */
|