Commit Graph

63 Commits

Author SHA1 Message Date
Todd C. Miller
9c88441420 Mention values when lecture, listpw and verifypw are used in boolean context. 2004-11-28 21:08:09 +00:00
Todd C. Miller
9c954d803f Document per-command Defaults. 2004-11-19 22:09:10 +00:00
Todd C. Miller
a768dbc34f Bring back the "secure_path" Defaults option now that Defaults take
effect before the path is searched.
2004-11-12 16:19:19 +00:00
Todd C. Miller
8204723c87 regen 2004-10-26 20:09:14 +00:00
Todd C. Miller
e455f848a9 stay_setuid now requires set_reuid() or setresuid() 2004-10-13 16:52:51 +00:00
Todd C. Miller
d56b543a13 Remove warning about wildcards. Now that we use glob() the bug is fixed. 2004-10-07 18:57:41 +00:00
Todd C. Miller
5c259f8b47 regen 2004-10-05 14:22:26 +00:00
Todd C. Miller
abc7ac8eef regen 2004-09-30 17:25:51 +00:00
Todd C. Miller
1e0f96b912 regen 2004-09-06 20:46:28 +00:00
Todd C. Miller
1e9dcd837a regen 2004-08-06 23:32:31 +00:00
Todd C. Miller
e41a38e38c regen 2004-08-06 01:16:29 +00:00
Todd C. Miller
ceb351fd99 regen 2004-06-08 23:20:11 +00:00
Todd C. Miller
34288539a9 regen 2004-06-07 00:12:23 +00:00
Todd C. Miller
d94c6f36b0 regen 2004-05-27 19:57:53 +00:00
Todd C. Miller
1a998e47d0 regen 2004-05-17 22:33:01 +00:00
Todd C. Miller
f4d073b89e regen 2004-05-16 20:24:28 +00:00
Todd C. Miller
af7c4632f1 regen 2003-03-14 01:24:37 +00:00
Todd C. Miller
da7384a0ea regen 2002-04-25 15:36:12 +00:00
Todd C. Miller
16472afa0d sudo version 1.6.5 2002-01-16 23:37:01 +00:00
Todd C. Miller
e869e0eb50 Regen from new sudoers.pod 2002-01-13 18:42:15 +00:00
Todd C. Miller
412819b40a Mention that no double quotes are needed when adding/deleting/assigning
a single value to a list.
2001-12-30 19:26:22 +00:00
Todd C. Miller
a459e6a31d regen from sudoers.pod 2001-12-17 23:35:57 +00:00
Todd C. Miller
b42400d77d regen 2001-12-15 16:51:28 +00:00
Todd C. Miller
df7144394c regen 2001-12-15 16:39:51 +00:00
Todd C. Miller
3dc5439c2c Regenerate after pod file changes 2001-12-15 00:28:34 +00:00
Todd C. Miller
5d0b523ae3 Regen from pod files 2001-12-14 20:29:19 +00:00
Todd C. Miller
9318379d83 PATH is also preserved when env_reset is in effect 2000-12-30 03:45:31 +00:00
Todd C. Miller
998631b73a New Defaults options:
o stay_setuid - sudo will remain setuid if system has saved uids or setreuid(2)
 o env_reset - reset the environment to a sane default
 o env_keep - preserve environment variables that would otherwise be cleared

No longer use getenv/putenv/setenv functions--do environment munging by hand.
Potentially dangerous environment variables can be cleared only if they
contain '/' pr '%' characters to protect buggy programs.
Moved environment routines into env.c (new file)
2000-12-30 03:29:47 +00:00
Todd C. Miller
ed7827decc Add always_set_home variable 2000-09-07 01:35:39 +00:00
Todd C. Miller
fafefc1df9 Substitute values from configure into man pages. 2000-08-13 21:09:22 +00:00
Todd C. Miller
30daa83259 Use B<-Z> not C<-Z> for command line flags in all places. This is more
consistent and works around a bug in Pod::Man.
2000-04-22 18:15:15 +00:00
Todd C. Miller
2d50daad2b Fix an occurence of 'semicolon' that should be 'colon' 2000-04-22 17:59:26 +00:00
Todd C. Miller
dffa5b0145 Regenerated with perl 5.6.0 pod2man 2000-04-07 14:39:23 +00:00
Todd C. Miller
6dd2d9592e Visudo now checks for the existence of an editor and gives a sensible
error if it does not exist.

The path to the editor for visudo is now a colon-separated list of
allowable editors.  If the user has $EDITOR set and it matches
one of the allowed editors that editor will be used.  If not,
the first editor in the list that actually exists is used.
2000-04-01 21:23:28 +00:00
Todd C. Miller
6c94d8d231 Use @mansectsu@ and @mansectform@ in the man page bodies as well. 2000-03-27 03:26:24 +00:00
Todd C. Miller
6627448f53 Use SYSV man sections since BSD systems will have nroff... 2000-03-26 16:57:04 +00:00
Todd C. Miller
5ce1fa96f2 Add support for wildcards in the hostname. 2000-03-23 04:09:53 +00:00
Todd C. Miller
4c8b4fad56 Document set_logname option and enbolden refs to sudo and visudo. 2000-03-23 03:20:57 +00:00
Todd C. Miller
d168a21cee Add FreeBSD login.conf support (untested on BSD/OS) based on a patch from
Michael D. Marchionna.
configure now does substitution on the man pages, allowing us to
fix up the paths and set the section correctly.  Based on an idea
from Michael D. Marchionna.
2000-03-23 00:35:59 +00:00
Todd C. Miller
09b23e7b41 Add rootpw, runaspw, and targetpw options. 2000-02-18 17:56:28 +00:00
Todd C. Miller
44c5092fab enveditor -> env_editor 2000-02-18 17:11:43 +00:00
Todd C. Miller
73946622ba crank versino to 1.6.3 2000-02-16 00:07:28 +00:00
Todd C. Miller
020125336c Add 'editor' and 'enveditor' sudoers defaults and make visudo honor them.
This means that visudo will now parse the sudoers file *before* it is
edited so a bogus sudoers file will cause a warning to go to stderr.
Also, visudo checks the variables once--it does not check them after
each editor run since that could be confusing.
2000-02-16 00:03:44 +00:00
Todd C. Miller
192d338322 Expanded docs on sudoers 'defaults' options based on INSTALL file info. 2000-01-26 21:21:28 +00:00
Todd C. Miller
592bae1d7c Add netgroup caveat 2000-01-24 03:57:49 +00:00
Todd C. Miller
e4f3853d70 "a a" -> "a"; Aaron Campbell <aaron@cs.dal.ca> 2000-01-18 22:00:40 +00:00
Todd C. Miller
6d6c22b4b4 Crank version to 1.6.2 2000-01-17 17:28:41 +00:00
Todd C. Miller
a597c4ad55 o Fix some typos/omissions
o Add section on verifypw and listpw
o Define how NOPASSWD interacts with the -v and -l flags
2000-01-17 03:57:26 +00:00
Todd C. Miller
c6136f9764 crank version to 1.6 1999-12-05 02:18:47 +00:00
Todd C. Miller
449f67f776 o Kill shell_noargs option, it cannot work since the command needs to
be set before sudoers is parsed.
o Fix the "set_home" sudoers option (only worked at compile time).
o Fix "fqdn" sudoers option.  We now set host/shost via set_fqdn which
  gets called when the "fqdn" option is set in sudoers.
o Move the openlog() to store_syslogfac() so this gets overridden
  correctly from the sudoers file.
1999-12-02 20:31:25 +00:00