Todd C. Miller
42771539e2
fix typos; Markus Lude
2008-11-24 15:08:16 +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
535ed3817c
Sudo will now refuse to run if no tty is present unless the new
...
visiblepw sudoers flag is set.
2008-11-07 02:06:48 +00:00
Todd C. Miller
e2fb6dbb0f
mention defauts parse order
2008-11-04 20:45:45 +00:00
Todd C. Miller
9b5e94cef9
When setting the umask, use the union of the user's umask and the
...
default value set in sudoers so that we never lower the user's umask
when running a command.
2008-10-26 21:13:03 +00:00
Todd C. Miller
ce67f22495
document sudoers_locale
2008-10-08 21:09:07 +00:00
Todd C. Miller
22103775cb
Mention POSIX characters classes now that out fnmatch() and glob()
...
support them.
2008-10-03 19:56:40 +00:00
Todd C. Miller
5446cd3ae6
Replace [A-z] (which won't match in UTF8) with [A-Za-z] which is
...
locale agnostic.
2008-10-03 19:55:57 +00:00
Todd C. Miller
8f38cfbe90
Remove duplicate "as root". From Martin Toft.
2008-07-12 12:48:21 +00:00
Todd C. Miller
b85a28aba9
Add env_file Defaults option that is similar to /etc/environment on some
...
systems.
2008-05-03 00:53:21 +00:00
Todd C. Miller
0f9e7f96f4
Add mailfrom Defaults option that sets the value of the From:
...
field in the warning/error mail. If unset the login name of
the invoking user is used.
2008-03-05 21:52:19 +00:00
Todd C. Miller
143691e6d7
document -A and askpass
2008-03-02 22:31:08 +00:00
Todd C. Miller
b072179192
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
229b231461
document role and type defaults for SELinux
2008-02-17 13:04:45 +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
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
aaacf16ee0
Defaults lines may be associated with lists of users, hosts, commands
...
and runas users, not just single entries.
2007-08-27 19:51:58 +00:00
Todd C. Miller
94922dbae5
Users may now consist of a uid.
2007-08-22 22:55:46 +00:00
Todd C. Miller
317e600f41
Remove monitor support until there is a versino of systrace that
...
uses a lookaside buffer (or we have a better mechanism to use).
2007-08-15 15:20:01 +00:00
Todd C. Miller
d65602ca6f
Add IPv6 support; adapted from patches by YOSHIFUJI Hideaki
2007-08-13 16:29:25 +00:00
Todd C. Miller
0a96fe4076
Add some missing markup
...
Update copyright
2007-08-13 16:23:14 +00:00
Todd C. Miller
6c2448ed2a
Adjust list indentation
2007-08-07 00:33:04 +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
b925712f94
Sort sudoers options; based on a diff from Igor Sobrado.
2007-07-26 11:28:45 +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
5c6880f1ef
Substitute value of path_info into sudoers man page.
2007-07-22 22:43:28 +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
95df3fa678
Move sudoers defaults parameters into their own section.
2007-07-06 13:33:47 +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
459b9cb1dd
fix typo
2007-06-19 21:27:14 +00:00
Todd C. Miller
a922ff68ac
Update descriptions of env_keep and env_check to match current reality.
2007-06-19 00:33:55 +00:00
Todd C. Miller
3f2230617e
No commercial support for now.
2007-06-12 13:21:40 +00:00
Todd C. Miller
0ea35c0d32
Attempt to clarify the bit talking about network numbers w/o netmasks.
2007-04-24 18:44:19 +00:00
Todd C. Miller
7a96eb86e6
Fix typos; from Jason McIntyre.
2007-02-06 18:25:35 +00:00
Todd C. Miller
2c3be532a0
Fix typo; Toby Peterson
2005-08-15 00:32:08 +00:00
Todd C. Miller
8f90cfbd89
Preserve DISPLAY environment variable by default.
2005-06-25 21:46:16 +00:00
Todd C. Miller
244eae916f
use a non-breaking space to avoid a double space after e.g.
2005-03-13 00:27:05 +00:00
Todd C. Miller
9805bdd7f6
env_keep overrides set_logname
2005-02-20 18:00:24 +00:00
Todd C. Miller
778d587063
Update copyright years.
2005-02-12 22:56:07 +00:00
Todd C. Miller
ab2e7bc267
Instead of zeroing out the environment, just prune out entries
...
based on the env_delete and env_check lists. Base building up
the new environment on the current environment and the variables
we removed initially.
2005-02-10 04:00:04 +00:00
Todd C. Miller
840d51a160
s/-O/-C/
2005-01-18 00:41:31 +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
9c88441420
Mention values when lecture, listpw and verifypw are used in boolean context.
2004-11-28 21:08:09 +00:00