Todd C. Miller
2860716baa
Active Directory schema by Chantal Paradis and Eric Paquet
2008-05-09 18:01:04 +00:00
Todd C. Miller
f0db3ecfbe
remove an XXX that was fixed
2008-05-08 21:54:09 +00:00
Todd C. Miller
fbc4aea0eb
sync
2008-05-08 16:53:09 +00:00
Todd C. Miller
88b9327229
Initialize tags to UNSPEC instead of def_* in "sudo -l" mode.
...
This fixes a problem where the tag value printed was influenced
by defaults set in the first pass through the parser.
2008-05-08 16:49:12 +00:00
Todd C. Miller
5c58a7e961
No point in packaging the TODO file
2008-05-04 01:29:08 +00:00
Todd C. Miller
d529c35bf6
sync
2008-05-04 01:24:30 +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
c3470aa583
change version to 1.7.0
2008-05-02 20:38:08 +00:00
Todd C. Miller
bfc826872c
initial valgrind pass done
2008-05-02 20:37:43 +00:00
Todd C. Miller
25aa1b5bf1
Fix typo/think in sudo_ldap_read_secret() when storing the secret.
2008-04-23 12:30:07 +00:00
Todd C. Miller
3fa2f32928
define LDAPS_PORT if the system headers do not
2008-04-11 14:03:30 +00:00
Todd C. Miller
a890d723d1
Fix another memory leak in init_parser().
2008-04-10 18:54:50 +00:00
Todd C. Miller
f0a6827feb
There was a missing space before the ldap libs in SUDO_LIBS for
...
some configurations.
2008-04-10 16:51:17 +00:00
Todd C. Miller
b06e2f9d65
Clean up some memory leaks pointed out by valgrind.
2008-04-10 15:28:10 +00:00
Todd C. Miller
cb8bc538d0
fix "sudo -s" broken by mode/flags breakout
2008-04-07 18:39:05 +00:00
Todd C. Miller
7fe25e284e
remove duplicate check for dgettext
2008-04-07 18:26:13 +00:00
Todd C. Miller
7ddbc66eb6
Fall back to default stanza if no user-specific limit is found.
2008-04-05 19:54:11 +00:00
Todd C. Miller
00d4993481
include stdint.h if present
2008-04-02 19:56:40 +00:00
Todd C. Miller
66d388c3d4
Use LLONG_MAX, not the old QUAD_MAX
2008-04-02 19:28:27 +00:00
Todd C. Miller
0715e45e7a
fix cut and pasto
2008-04-01 23:18:21 +00:00
Todd C. Miller
82ba4c72e9
Add #ifdef PURITY
2008-03-31 15:24:28 +00:00
Todd C. Miller
d43f00c182
remove useless cast
2008-03-30 21:36:51 +00:00
Todd C. Miller
a195276142
sync
2008-03-27 23:07:57 +00:00
Todd C. Miller
27fa3e97d5
sync
2008-03-27 23:04:22 +00:00
Todd C. Miller
6ca2fd6b50
Split MODE_* defines into primary and flags.
2008-03-27 23:01:04 +00:00
Todd C. Miller
d7b4d7bc2a
It turns out the logic for getting AIX limits is more convoluted
...
than I realized and differs depending on whether the soft and/or
hard limits are defined.
2008-03-26 17:11:53 +00:00
Todd C. Miller
241d0750f0
Back out AIX-specific change to set the sudo_noexec path to the .a
...
file, we do really want to use the .so file. Since libtool doesn't
do that correctly, just install the .so file ourselves in the Makefile.
2008-03-23 14:18:56 +00:00
Todd C. Miller
1efe9a900f
If the file given to install is a path, only use the basename of the
...
file when building the destination path.
2008-03-23 14:12:19 +00:00
Todd C. Miller
938f79172c
parse_args() cleanup:
...
Sort command line options in the getopt() switch
The -U option requires a parameter
Normalize a few ISSET calls
Split mode into mode and flags and retire the now-obsolete excl variable
2008-03-18 20:08:46 +00:00
Todd C. Miller
c352187cf8
Add -n (non-interactive) flag.
2008-03-18 20:04:41 +00:00
Todd C. Miller
f2c84d5a6d
Move version printing, etc. into a separate function.
2008-03-18 19:59:37 +00:00
Todd C. Miller
4b46531e48
Don't try to cleanup nsswitch if it has not been initialized.
2008-03-18 19:57:40 +00:00
Todd C. Miller
b7b807e107
Block SIGPIPE in send_mail() so sudo is not killed by a problem
...
executing the mailer.
2008-03-17 15:09:38 +00:00
Todd C. Miller
52710ce517
AIX shared libs end in .a, not .so.
2008-03-14 12:11:57 +00:00
Todd C. Miller
daba1995fc
Preserve HOME by default too. Matches documentation and previous behavior.
2008-03-13 11:34:31 +00:00
Todd C. Miller
d11cb3d14b
Use getopt() to parse the command line. We need to be able to
...
intersperse env variables and options yet still honor "--""
which complicates things slightly.
2008-03-12 23:42:32 +00:00
Todd C. Miller
299fe04af0
sync
2008-03-06 19:46:10 +00:00
Todd C. Miller
229a79b6b8
update to libtool-1.5.26
2008-03-06 19:43:25 +00:00
Todd C. Miller
af25553572
update from libtool-1.5.26 distribution
2008-03-06 19:32:46 +00:00
Todd C. Miller
59c1ac153c
attempt to fix compilation errors on AIX
2008-03-06 18:18:17 +00:00
Todd C. Miller
d2a05f214b
fix typo in last commit
2008-03-06 18:08:13 +00:00
Todd C. Miller
094c79a203
Add WHATSNEW file to the distribution
2008-03-06 18:07:31 +00:00
Todd C. Miller
4590132478
use warningx instead of fprintf(stderr, ...)
2008-03-06 17:43:30 +00:00
Todd C. Miller
3fbd32170a
add DEBUG to list2tq
2008-03-06 17:31:57 +00:00
Todd C. Miller
e87d5f8450
sync
2008-03-06 17:29:18 +00:00
Todd C. Miller
06053753da
mention mailfrom
2008-03-06 17:21:17 +00:00
Todd C. Miller
897239afe9
Add aix_setlimits() to set resource limits on AIX using a combination
...
of getuserattr() and setrlimit(). Currently untested.
2008-03-06 17:19:57 +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
2314fd903b
store a copy of _PATH_SUDO_ASKPASS in def_askpass that is freeable
2008-03-05 21:18:06 +00:00
Todd C. Miller
cb1a3be9d9
When adding a default, only call list2tq() once to do the list to
...
tq conversion. It is not legal to call list2tq multiple times on
the same list since list2tq consumes and modifies the list argument.
2008-03-05 20:19:50 +00:00