Commit Graph

125 Commits

Author SHA1 Message Date
Todd C. Miller
d8422c4fff Mention that the password must be followed by a newline with the -S option. 2009-09-25 00:31:35 +00:00
Todd C. Miller
d2efb0a55a Add non-unix group bits, adapted from Quest 2009-06-15 21:19:47 +00:00
Todd C. Miller
62b89f9dfc Update copyright years. 2009-05-25 12:02:42 +00:00
Todd C. Miller
0c05609759 Mention that the helper for -A may be graphical. 2009-02-25 11:17:26 +00:00
Todd C. Miller
15975b83ce Allow the -k flag to be specified in conjunction with a command or
another option that may require authentication.
2009-02-24 13:04:39 +00:00
Todd C. Miller
59302128df standardize on the term 'option' for command line options (not flag) 2008-11-15 18:34:01 +00:00
Todd C. Miller
840acbd3ac Update copyright years. 2008-11-09 14:13:13 +00:00
Todd C. Miller
cf9fa33eb3 resort ENVIRONMENT 2008-10-08 21:28:48 +00:00
Todd C. Miller
7bb5160394 add SUDO_EDITOR variable that sudoedit uses in preference to VISUAL or EDITOR 2008-10-08 20:56:17 +00:00
Todd C. Miller
06a4e14025 Fix typos in -i usage 2008-06-06 13:36:58 +00:00
Todd C. Miller
c352187cf8 Add -n (non-interactive) flag. 2008-03-18 20:04:41 +00:00
Todd C. Miller
143691e6d7 document -A and askpass 2008-03-02 22:31:08 +00:00
Todd C. Miller
c2378eb4d1 Only put login_cap(3) in SEE ALSO section if we have login.conf support 2008-02-19 18:21:41 +00:00
Todd C. Miller
ef16f80a32 Substitute in comment characters for lines partaining to login.conf,
BSD auth and SELinux and only enable them if pertinent.
2008-02-18 15:53:33 +00:00
Todd C. Miller
7a1e2dfb59 Remove the =cut on the first line (above the copyright notice) to quiet
pod2man.  Also remove the hackery in the FILES section and just deal
with the fact that there will a newline between each pathname.
2008-02-18 15:42:43 +00:00
Todd C. Miller
211be00ccb Document "sudo -ll" and make "sudo -l -l" be equivalent. 2008-02-17 01:26:23 +00:00
Todd C. Miller
4c992e1901 Add support for SELinux RBAC. Sudoers entries may specify a role and type.
There are also role and type defaults that may be used.  To make sure a
transition occurs, when using RBAC commands are executed via the new sesh
binary.  Based on initial changes from Dan Walsh.
2008-02-09 14:30:07 +00:00
Todd C. Miller
801860b298 Only read /etc/environment on Linux and AIX 2008-01-27 21:31:27 +00:00
Todd C. Miller
0fc0e3c86d Add and document the %p escape in the password prompt.
Based on a patch from Patrick Schoenfeld.
2008-01-05 23:59:28 +00:00
Todd C. Miller
ab14071ec9 mention /etc/environment 2008-01-01 21:52:45 +00:00
Todd C. Miller
3592cc0b18 The -i and -s flags can now take an optional command. 2007-12-03 16:36:49 +00:00
Todd C. Miller
74c5dc4fad Add passprompt_override flag to sudoers that will cause the prompt
to be overridden in all cases.  This flag is also set when the
user specifies the -p flag.
2007-12-02 17:13:48 +00:00
Todd C. Miller
f9f4aca556 Add support for runas groups. This allows the user to run a command
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
2007-11-21 20:12:00 +00:00
Todd C. Miller
c9f393e4de document that ALL implies SETENV 2007-11-21 19:26:06 +00:00
Todd C. Miller
28f814d12f For the options list, add flag args where appropriate and increase the
indent level so there is room for them.
2007-08-16 13:38:24 +00:00
Todd C. Miller
0a96fe4076 Add some missing markup
Update copyright
2007-08-13 16:23:14 +00:00
Todd C. Miller
1ae60a5577 Adjust list indents
Prevent -- from being turned into an em dash
Use a list for the environment instead of a literal paragraph
2007-08-07 00:37:44 +00:00
Todd C. Miller
1994a37c6d mention that when specifying a uid for the -u option the shell may require that the # be escaped 2007-08-06 14:24:07 +00:00
Todd C. Miller
a08b9a1072 add missing over/back 2007-07-29 23:21:37 +00:00
Todd C. Miller
c3a1e75b06 Change FILES section to use =item 2007-07-29 23:09:23 +00:00
Todd C. Miller
2e147dc73b Use file markup for paths in the FILES section 2007-07-26 20:35:53 +00:00
Todd C. Miller
e5cc89e01b Don't capitalize sudo/visudo 2007-07-26 14:04:44 +00:00
Todd C. Miller
d947abaa35 Use 8 and 5 instead of @mansectsu@ and @mansectform@ since the latter
confuses pod2man.  The Makefile rules for the .man.in file will add
@mansectsu@ and @mansectform@ back in after pod2man is done anyway.
2007-07-25 20:19:37 +00:00
Todd C. Miller
5cd49e1e00 Sort SYNOPSIS and sync usage. From Igor Sobrado. 2007-07-22 19:20:42 +00:00
Todd C. Miller
e8dc37d798 Better explanation of environment handling in the sudo man page. 2007-07-09 23:25:41 +00:00
Todd C. Miller
87a95bb3a6 Allow user to set environment variables on the command line as long
as they are allowed by env_keep and env_check.  Ie: apply the same
restrictions as normal environment variables.
TODO: deal with secure_path
2007-07-09 17:22:55 +00:00
Todd C. Miller
c94ee11b63 add -c option to sudoedit synopsis 2007-07-08 18:11:33 +00:00
Todd C. Miller
879c46e4dd Add support for setting environment variables on the command line.
This is only allowed if the setenv sudoers options is enabled or if
the command is prefixed with the SETENV tag.
2007-06-23 23:58:54 +00:00
Todd C. Miller
3f2230617e No commercial support for now. 2007-06-12 13:21:40 +00:00
Todd C. Miller
af80a3e578 Clarify timestamp dir ownership sentence. 2007-04-24 18:25:14 +00:00
Todd C. Miller
7a96eb86e6 Fix typos; from Jason McIntyre. 2007-02-06 18:25:35 +00:00
Todd C. Miller
b6e3fb008f fix typo 2005-12-28 18:52:45 +00:00
Todd C. Miller
8f90cfbd89 Preserve DISPLAY environment variable by default. 2005-06-25 21:46:16 +00:00
Todd C. Miller
963ca5045d commna, not colon after e.g. 2005-03-13 00:26:33 +00:00
Todd C. Miller
abc10fd9a6 I am the primary author 2005-03-06 00:33:18 +00:00
Todd C. Miller
778d587063 Update copyright years. 2005-02-12 22:56:07 +00:00
Todd C. Miller
0b1ef8ff53 Sort command line options 2004-12-16 19:20:12 +00:00
Todd C. Miller
051a2110a4 Add closefrom sudoers option to start closing at a point other than 3.
Add closefrom_override sudoers option and -C sudo flag to allow the
user to specify a different closefrom starting point.
2004-12-16 18:33:49 +00:00
Todd C. Miller
5f06b19a6e Add -U option to use in conjunction with -l instead of -u.
Add support for "sudo -l command" to test a specific command.
2004-11-24 21:31:51 +00:00
Todd C. Miller
85d1ca15a7 Update env variable info in SECURITY NOTES 2004-11-11 16:30:01 +00:00