Commit Graph

173 Commits

Author SHA1 Message Date
Todd C. Miller
0d73e19242 Add missing single quotes around a colon in Runas_Spec definition.
From Elias Benali.
2009-06-30 12:41:09 +00:00
Todd C. Miller
b2189fede3 Document that we accept env_pam-style environment files 2009-06-23 18:29:02 +00:00
Todd C. Miller
8f16434679 Make it clear that env_delete only works when !env_reset.
From Loïc Minier
2009-06-23 16:22:48 +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
2b89941122 Add a clarification from Nick Sieger 2009-04-30 19:04:08 +00:00
Todd C. Miller
db9860aa36 Fix up some pod2html issues. 2009-04-20 17:53:02 +00:00
Todd C. Miller
0509ce3f66 Ignore files ending in '~' in sudo.d (emacs backup files) 2009-04-19 13:01:20 +00:00
Todd C. Miller
95de5670a2 For #includedir, ignore any file containing a dot 2009-04-18 23:37:33 +00:00
Todd C. Miller
3be603aa47 Implement #includedir directive. Files in an includedir are not edited
by visudo unless they contain a syntax error.
2009-04-18 23:25:08 +00:00
Todd C. Miller
9e85f3754b Work around some pod2html issue. 2009-03-08 15:51:01 +00:00
Todd C. Miller
f96b0a7432 Implement umask_override 2009-02-21 22:03:47 +00:00
Todd C. Miller
0d7f771778 Implement %h escape in sudoers include filenames. 2009-02-21 21:49:19 +00:00
Todd C. Miller
dd56fbadb4 Rename pwstars to pwfeedback 2009-02-15 20:53:49 +00:00
Todd C. Miller
108d53548b Rename simple_glob -> fast_glob 2009-02-10 19:04:02 +00:00
Todd C. Miller
7207b4cd60 Add simple_glob option to use fnmatch() instead of glob(). This is
useful when you need to specify patterns that reference network file
systems.
2009-02-10 13:09:14 +00:00
Todd C. Miller
eec86958b8 mention glob() 2009-02-10 12:51:20 +00:00
Todd C. Miller
38c225af03 Add pwstars sudoers option that causes sudo to print a star every
time the user presses a key.
2009-02-08 00:50:48 +00:00
Todd C. Miller
3f92c8740f hostnames may also contain wildcards 2008-12-03 20:57:13 +00:00
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