Commit Graph

59 Commits

Author SHA1 Message Date
Todd C. Miller
caf01d98c4 When initializing the environment for env_reset, start out with
the contents of /etc/environment on AIX and login.conf on BSD.
2012-03-27 18:57:11 -04:00
Todd C. Miller
96f046c1ce Rename plugin "args" to "options" 2012-03-15 12:32:31 -04:00
Todd C. Miller
bfb6f79105 List sudo_noexec.so not noexec.so in the sample sudo.conf 2012-03-02 11:15:40 -05:00
Todd C. Miller
a16dee915b Add support for plugin args at the end of a Plugin line in sudo.conf.
Bump the minor number accordingly and update the documentation.  A
plugin must check the sudo front end's version before using the
plugin_args parameter since it is only supported for API version
1.2 and higher.
2012-03-02 11:04:09 -05:00
Todd C. Miller
b28dfa5011 update copyright 2012-02-05 13:35:20 -05:00
Todd C. Miller
c32bd3db54 Enumerate the debug subsystems used by sudo and sudoers. 2012-02-05 10:17:09 -05:00
Todd C. Miller
fb3c9f2ca5 Remove support for noexec_file in sudoers and the plugin API 2011-12-20 08:40:55 -05:00
Todd C. Miller
e43b726e96 Make the env_reset descriptions consistent. 2011-11-23 10:42:32 -05:00
Todd C. Miller
481877e3b8 Add support for relative paths in #include and #includedir 2011-11-17 20:48:42 -05:00
Todd C. Miller
e5e1bb24fa Only iolog_file (not iolog_dir) supports mktemp-style suffixes. 2011-09-16 14:05:44 -04:00
Todd C. Miller
6b1e752524 Fix typo; OPT should be OTP 2011-08-11 13:25:08 -04:00
Todd C. Miller
9e7c364ed4 Fix typo 2011-07-19 12:31:53 -04:00
Todd C. Miller
0c292a56bf Refer the user to the "Command Environment" section in description
of sudo's -i option.
2011-06-09 12:52:51 -04:00
Todd C. Miller
f77403d061 The group named by exempt_group should not have a % prefix. 2011-06-03 10:09:10 -04:00
Todd C. Miller
977dfd3165 Fix typo; "Defaults group_plugin" not "Defaults sudo_plugin" 2011-06-01 12:26:13 -04:00
Todd C. Miller
8a76ddfef5 askpass moved from sudoers to sudo.conf in sudo 1.8.0 2011-04-27 11:48:46 -04:00
Todd C. Miller
38f7dd359b Remove obsolete warning about runas_default and ordering.
Move syslog facility and priority lists into the section where
the relevant options are described.
2011-04-27 11:42:46 -04:00
Todd C. Miller
e55bbb1833 Fix typo; from Petr Uzel 2011-04-05 09:13:18 -04:00
Todd C. Miller
335abe3a10 Document %#gid, and %:#nonunix_gid syntax. 2011-03-29 12:53:37 -04:00
Todd C. Miller
97b8dc7fe1 Fix placement of equal size ('=') in user specification summary. 2011-03-22 09:40:24 -04:00
Todd C. Miller
c91d2a08a2 The '@' character does not normally need to be quoted. 2011-03-17 16:45:09 -04:00
Todd C. Miller
aa29582acc Warn about the dangers of log_input and mention iolog_file and iolog_dir
in the log_input and log_output descriptions.
2011-03-16 13:26:27 -04:00
Todd C. Miller
639903f132 It seems that h comes after i 2011-03-16 12:07:03 -04:00
Todd C. Miller
09f9796ea3 Move log_input and log_output to their proper, sorted, location.
Document set_utmp and utmp_runas.
2011-03-16 12:05:32 -04:00
Todd C. Miller
9660f08e32 Document noexec in sample.sudo.conf and add back noexec_file section
in sudoers with a note that it is deprecated.
2011-03-11 11:34:11 -05:00
Todd C. Miller
dc8012265f Document "Path noexec ..." in sudo.conf.
No longer document noexec_file in sudoers, it will be removed in a future
release.
2011-03-10 16:06:16 -05:00
Todd C. Miller
315e54fd61 mention group_plugin when describing nonunix_group 2011-02-19 18:40:00 -05:00
Todd C. Miller
521ee9c539 Attempt to clarify how users and groups interact in Runas_Specs 2011-02-03 13:20:43 -05:00
Todd C. Miller
ed8e30cf6e Add --disable-env-reset configure option. 2011-01-28 16:52:25 -05:00
Todd C. Miller
180b31764e Document that sudoers_locale also affects logging and email. 2011-01-28 16:15:57 -05:00
Todd C. Miller
f7f8b6867e Update copyright year to 2011 2011-01-20 16:46:56 -05:00
Todd C. Miller
0726c8fe24 fix typo 2011-01-13 13:10:15 -05:00
Todd C. Miller
21dd6af796 Document use of mkdtemp() for iolog path teplates 2010-12-27 15:43:01 -05:00
Todd C. Miller
05807cf5e1 Document iolog_file and supported escape sequences for sudoers.
Clarify that iolog_file can contain directories.
2010-12-27 14:43:50 -05:00
Todd C. Miller
ad41fb497e Clarify umask option description. From Reuben Thomas. 2010-12-21 10:23:45 -05:00
Todd C. Miller
b2a6984606 Make I/O log dir configurable. 2010-12-10 14:14:35 -05:00
Todd C. Miller
6c23688511 Rename io_logdir to iolog_dir 2010-12-10 14:13:51 -05:00
Todd C. Miller
bb4a8a4dc2 fix typo; from Michael T Hunter 2010-11-22 15:45:10 -05:00
Todd C. Miller
b51afe6249 Implement --with-umask-override configure flag. 2010-09-14 17:18:55 -04:00
Todd C. Miller
bd1884bb43 sudo_plugin is in section 8; from Ted Percival 2010-09-11 09:07:53 -04:00
Todd C. Miller
b91a12988a set_home and always_set_home have an effect if HOME is present in
the env_keep list.
2010-09-09 16:22:26 -04:00
Todd C. Miller
bdecb14ea6 Mention that 127.0.0.1 will not match, nor will localhost unless
that is the actual host name.
2010-07-21 15:19:56 -04:00
Todd C. Miller
f45f57dca5 Add commented out line to add HOME to env_keep and add a warning
to the note about the HOME change in UPGRADE.
2010-07-21 09:51:43 -04:00
Todd C. Miller
2675524c32 The tty_tickets option is now on by default. 2010-07-20 13:20:53 -04:00
Todd C. Miller
ee7221f1fe Reset HOME when env_reset is enabled unless it is in env_keep 2010-07-19 15:35:47 -04:00
Todd C. Miller
c31e1227f1 The default for set_logname has been "true" for some time now. 2010-07-19 14:12:03 -04:00
Todd C. Miller
69ecb34581 If env_reset is enabled, set the MAIL environment variable based
on the target user unless MAIL is explicitly preserved in sudoers.
2010-07-19 12:50:59 -04:00
Todd C. Miller
225de60639 The tag is NOSETENV, not UNSETENV. From Petr Uzel. 2010-07-16 05:58:01 -04:00
Todd C. Miller
de3cfa25f4 Remove spurious "and"; from debian 2010-07-14 09:34:39 -04:00
Todd C. Miller
26ca852a98 Substitute the value of EDITOR into the sudoers and visudo manuals. 2010-07-14 09:33:53 -04:00