Todd C. Miller
1f3ea50afd
Implement memset_s() and use it instead of zero_bytes().
...
A new constant, SUDO_CONV_REPL_MAX, is defined by the plugin
API as the max conversation reply length. This constant can be
used as a max value for memset_s() when clearing passwords
filled in by the conversation function.
2013-08-03 08:30:06 -06:00
Todd C. Miller
1d20a0ab63
Document the remote_host setting (-h host)
2013-07-16 16:21:14 -06:00
Todd C. Miller
7d3ce01a05
Document group_file and system_group plugins.
2013-03-05 16:38:35 -05:00
Todd C. Miller
d946fdaa7a
Document that close and version be NULL for plugin API >= 1.3 and
...
that sudo may execute the command directly if there is no close,
or pty or timeout needed.
2013-02-24 13:20:56 -05:00
Todd C. Miller
af4d3489f9
Pass the default plugin directory to the plugin via the settings list.
...
Could be used by a stacking plugin.
2013-02-21 15:05:51 -05:00
Todd C. Miller
35548ae4e3
Pass max_groups to plugin in settings list.
2013-02-14 15:18:10 -05:00
Todd C. Miller
987d62ec55
Sort elements of the settings, user_info and command_info lists.
2013-02-08 14:44:22 -05:00
Todd C. Miller
14bf23c4a2
Remove duplicated sudo.conf info in the sudo, sudoers and sudo_plugin
...
manuals and cross-reference the new sudo.conf manual.
2013-02-05 16:12:39 -05:00
Todd C. Miller
872e168836
Document signal handler behavior in plugin API 1.3
2013-01-17 15:13:32 -05:00
Todd C. Miller
9479bb623b
Add exec_background option in plugin command info and a sudoers
...
option to match. When set, commands are started in the background
and automatically foregrounded as needed. There are issues with
some ill-mannered programs (like Linux su) so this is not the
default.
2013-01-11 14:34:09 -05:00
Todd C. Miller
94e2b1fbd4
Add missing command_info argument in I/O plugin open() prototype.
...
Bug #579
2012-11-26 09:57:35 -05:00
Todd C. Miller
6485906583
Mention that sudo.conf is parsed in the C locale.
2012-11-12 06:27:53 -05:00
Todd C. Miller
2d3a0d14d3
Make the capitalization consistent for .Ss and .Sx
2012-08-21 15:11:43 -04:00
Todd C. Miller
90f2cfa589
Build .man.in and .cat files from .mdoc.in files.
...
Add new --with-man and --with-mdoc configure options.
2012-07-19 13:41:14 -04:00
Todd C. Miller
c5b374fac6
More minor costmetic fixes.
2012-07-18 09:16:09 -04:00
Todd C. Miller
2e36b1ef2b
Regen for sudo 1.8.6
2012-06-29 16:11:27 -04:00
Todd C. Miller
23b7a1fa5c
Call the policy's init_session() function before we fork the child.
...
That way, the session is created and destroyed in the same process,
which is needed by some modules, such as pam_mount.
2012-04-23 16:38:16 -04:00
Todd C. Miller
5f969cc12a
Pass pid, ppid, sid, pgid and tcpgid to plugin in user_info list.
2012-04-13 15:18:40 -04:00
Todd C. Miller
bab4f2ce71
regen
2012-03-28 14:10:18 -04:00
Todd C. Miller
ec7767978f
Document what changed in each plugin API revision
2012-03-16 14:39:12 -04:00
Todd C. Miller
96f046c1ce
Rename plugin "args" to "options"
2012-03-15 12:32:31 -04:00
Todd C. Miller
d73ed51c58
regen
2012-03-15 09:18:50 -04:00
Todd C. Miller
b61c0ab473
regen
2012-03-14 14:20:16 -04:00
Todd C. Miller
74c4252c1b
1.8.0rc1
2011-02-21 13:36:24 -05:00
Todd C. Miller
6983d782c1
regen
2011-02-16 12:22:38 -05:00
Todd C. Miller
7f277d1558
Bump version to 1.8.0b4
2011-02-03 14:26:58 -05:00
Todd C. Miller
33201c04e8
Correct the default sudo.conf example
2011-01-03 13:09:03 -05:00
Todd C. Miller
25036d7a75
Pass a single I/O log file name in command_details instead of
...
separate dir + file parameters.
2010-12-30 17:09:01 -05:00
Todd C. Miller
3f6f61f852
Document iolog_compress in command_info
2010-12-28 12:25:06 -05:00
Todd C. Miller
e3cd512bfa
regen
2010-12-27 14:45:13 -05:00
Todd C. Miller
8528827500
Bump version to 1.8.0b2
2010-11-08 11:27:20 -05:00
Todd C. Miller
4feaf3c264
Document sudo_conv_t function and sudo_printf_t return values.
2010-08-12 10:29:43 -04:00
Todd C. Miller
5b1420b6d4
Make sudo_plugin format a bit more like a man page
2010-07-07 16:59:06 -04:00
Todd C. Miller
9d17312617
Document the sudoers group plugin.
2010-07-02 13:42:53 -04:00
Todd C. Miller
ec77318e32
Leave rules to build .man.in and .cat files uncommented but only make
...
them part of the "all" rule in devel mode.
Generate .cat files directly from .man.in instead of .man using default
values in configure.in
2010-06-11 18:34:24 -04:00
Todd C. Miller
eec336115a
Move askpass path specification from sudoers to sudo.conf.
2010-06-09 17:40:44 -04:00
Todd C. Miller
9d09966aad
Mention plugins in the sudo manual and add some missing path
...
substitution in the sudo_plugin manual.
2010-06-09 12:26:37 -04:00
Todd C. Miller
a4a6620b24
Add SUDO_CONV_PROMPT_MASK define which corresponds to the "pwfeedback"
...
sudoers option. Do not disable echo if TGP_ECHO is set.
2010-06-09 10:31:05 -04:00
Todd C. Miller
0b6a687bf4
Document init_session
2010-05-27 15:07:43 -04:00
Todd C. Miller
0487aee6b4
Bring back closefrom settings.
2010-05-24 15:40:36 -04:00
Todd C. Miller
55ef027d88
Add argc and argv to I/O logger open function.
2010-05-17 10:38:56 -04:00
Todd C. Miller
9a6cbe03b6
Clarify sudoedit a tad.
2010-05-14 09:39:01 -04:00
Todd C. Miller
c8a62b1ecb
Document sudoedit
2010-05-13 17:49:52 -04:00
Todd C. Miller
7da9e1a912
Document plugin_printf and new logging functions.
2010-05-05 13:22:21 -04:00
Todd C. Miller
bc813db528
Add a "noninteractive" boolean to the settings passed in to the plugin's
...
open function that is set when the user specifies the -n flag.
2010-04-14 08:41:53 -04:00
Todd C. Miller
f19be6da31
Handle plugin's open function returning -2 (usage error).
2010-04-13 09:36:43 -04:00
Todd C. Miller
9edc09609f
Document the -2 return in the check_policy section too
2010-03-21 08:58:13 -04:00
Todd C. Miller
6b180d24da
Fix the -s and -i flags and add support for the "implied_shell"
...
option. If the user does not specify a command, sudo will now pass
in the path to the user's shell and set impied_shell=true. The
plugin can them either check the command normally or return -2 to
cause sudo to print a usage message and exit.
2010-03-21 08:54:06 -04:00
Todd C. Miller
18cd91d56e
Document progname in settings
2010-03-19 07:56:06 -04:00
Todd C. Miller
81949e89d1
Document lines/cols in user_info
2010-03-17 10:44:16 -04:00