Todd C. Miller
7e91ebff14
Fix style nit in function declarations
2010-07-02 15:56:04 -04:00
Todd C. Miller
2822c6c8ce
Document group_plugin syntax.
2010-07-02 15:37:47 -04:00
Todd C. Miller
9d17312617
Document the sudoers group plugin.
2010-07-02 13:42:53 -04:00
Todd C. Miller
e6b48d415c
Replace built-in non-unix group support with a sudoers group plugin.
...
Include a sample plugin that can read Unix-format group files.
2010-07-02 11:11:25 -04:00
Todd C. Miller
66eafd0994
Add a trailing slash to _PATH_SUDO_PLUGIN_DIR to simplify usage.
2010-07-02 10:53:47 -04:00
Todd C. Miller
454534eff2
Move sudoers-specific bits out of sudo(8) and into sudoers(5)
2010-07-01 13:51:06 -04:00
Todd C. Miller
9e60378c46
Substitute @io_logdir@ for the sudoers I/O log directory.
2010-07-01 13:49:10 -04:00
Todd C. Miller
30fe4a067c
Set usrinfo for AIX
...
Set adminstrative domain for the process when looking up user's
password or group info and when preparing for execve().
Include strings.h even if string.h exists since they may define
different things. Fixes warnings on AIX and others.
2010-06-29 13:08:05 -04:00
Todd C. Miller
fd40be6267
Add a separate all target for AIX make which was using the entire
...
LHS (not just the first entry) of the first target as the implicit
target.
2010-06-29 13:05:27 -04:00
Todd C. Miller
862d1675cc
Do not rely on env.env_len when unsetting a variable, just use the
...
NULL terminator.
2010-06-29 09:26:55 -04:00
Todd C. Miller
0c0a02dfd1
In unsetenv() check for NULL or empty name as per POSIX 1003.1-2008
2010-06-29 09:10:43 -04:00
Todd C. Miller
895e30184e
Use warningx() instead of log_error() since the latter is not available
...
to visudo or testsudoers. This does mean that they don't end up in syslog.
2010-06-25 10:06:08 -04:00
Todd C. Miller
189b43fed3
Defer call to sudo_nonunix_groupcheck_cleanup() until after we have
...
closed the sudoers sources. From Quest sudo.
2010-06-25 10:05:51 -04:00
Todd C. Miller
8f58fd36bb
Ignore case when matching user/group names in the cache. From Quest sudo.
2010-06-25 10:05:37 -04:00
Todd C. Miller
867ba48dbf
Add check for setkeycreatecon() when --with-selinux is specified.
2010-06-24 15:31:05 -04:00
Todd C. Miller
d63f49bcac
Error out if libaudit.h is missing or ununable when --with-linux-audit
...
was specified
2010-06-24 15:29:38 -04:00
Todd C. Miller
175760a44b
Add =head3 entries, mostly for the html version
2010-06-24 09:59:06 -04:00
Todd C. Miller
e873644374
Mention when LDAP was incorporate.
2010-06-22 13:38:43 -04:00
Todd C. Miller
39bccab398
Define _LINUX_SOURCE_COMPAT on AIX for strsignal() prototype, it
...
is not covered by _ALL_SOURCE.
2010-06-21 17:37:21 -04:00
Todd C. Miller
d69e4fd42b
Add a cast to quiet a compiler warning.
2010-06-18 18:45:43 -04:00
Todd C. Miller
41b15ae81e
Quiet a compiler warning.
2010-06-18 18:39:40 -04:00
Todd C. Miller
d1bf11db33
Call set_fqdn() after sudoers has parsed instead of inline as a callback.
2010-06-18 17:47:55 -04:00
Todd C. Miller
d79b0ece15
Do not call set_fqdn() until sudoers parses (where is gets run as a callback).
2010-06-18 17:25:59 -04:00
Todd C. Miller
677a0be850
mention the change in tty ticket behavior when there is no tty
2010-06-18 15:43:35 -04:00
Todd C. Miller
f5c5a9bf6a
Do not update tty ticket if there is no tty.
2010-06-18 08:00:16 -06:00
Todd C. Miller
c4da73db17
Update copyright year
2010-06-18 09:57:01 -04:00
Todd C. Miller
cf1d8359c3
Do not rely on BSD make's $>
2010-06-18 09:53:17 -04:00
Todd C. Miller
7c1e758249
Set timedir to /var/db/sudo for darwin to match Apple sudo's location
2010-06-18 09:50:45 -04:00
Todd C. Miller
9a16dc514d
Add stub declarations for struct stat and struct timeval
2010-06-16 17:10:04 -04:00
Todd C. Miller
87281cf284
Remove compat/sigaction.c
2010-06-16 17:05:04 -04:00
Todd C. Miller
ebc152ce8f
Check for zlib.h in addition to libz.
2010-06-16 16:51:46 -04:00
Todd C. Miller
d018936b4e
Move functions and symbols shared between exec.c and exec_pty.c
...
into sudo_exec.h.
2010-06-16 16:46:56 -04:00
Todd C. Miller
ede8a5fad3
Comment out rules to build .man.in and .cat files unless --with-devel
2010-06-16 16:01:51 -04:00
Todd C. Miller
c1bd1dd604
Comment out rules to build .man.in and .cat files unless --with-devel
2010-06-16 15:59:52 -04:00
Todd C. Miller
46355186bb
Quote any non-alphanumeric characters other than '_' or '-' when passing
...
a command to be run via the shell for the -s and -i options.
2010-06-16 15:27:40 -04:00
Todd C. Miller
6363305b30
Add back .man suffix
2010-06-16 12:19:23 -04:00
Todd C. Miller
2cd108304d
Add Linux audit support.
2010-06-16 11:17:02 -04:00
Todd C. Miller
fdd4805438
Remove an XXX
2010-06-15 17:00:42 -04:00
Todd C. Miller
1025a2ec06
Add -f (filter) option to sudoreplay to allow certain streams to
...
be replayed and others ignored.
2010-06-15 16:11:25 -04:00
Todd C. Miller
4fb8a83e6f
Fix -A flag when askpass is specified in sudo.conf or if sudo doesn't need
...
to read a password.
2010-06-15 15:11:10 -04:00
Todd C. Miller
f64bb67c6c
Clean up some XXXs
2010-06-15 15:01:11 -04:00
Todd C. Miller
d92c82ea3f
Add support for multiple sudoers_base entries in ldap.conf.
...
From Joachim Henke
2010-06-15 10:33:30 -04:00
Todd C. Miller
54ffb19ccb
remove setsid check, we require a POSIX system
2010-06-15 09:24:56 -04:00
Todd C. Miller
c2f8d24f20
Check for dup2() failure.
2010-06-15 09:02:23 -04:00
Todd C. Miller
59718c32e4
Remove dup2() check, it is not optional.
2010-06-15 08:42:17 -04:00
Todd C. Miller
754c3939d4
sync with sudo 1.7.3
2010-06-14 16:20:41 -04:00
Todd C. Miller
65307f89bc
SunOS does not ship with an ANSI compiler
2010-06-14 16:14:19 -04:00
Todd C. Miller
96e4b0e20f
Update OS specific notes. Delete some really ancient ones and move
...
older ones to the end of the list.
2010-06-14 16:11:01 -04:00
Todd C. Miller
8eed6962b6
Sudo can be downloaded from the web site too
...
Mention "OS dependent notes" section in INSTALL
2010-06-14 15:16:57 -04:00
Todd C. Miller
d27223b4c7
Call selinux_restore_tty() as part of cleanup() so it gets called
...
from error()/errorx()
2010-06-14 15:09:15 -04:00