Todd C. Miller
0cee8304a7
o Add missing ';' so this compiles
...
o Can't use NULL since we don't include stdio.h
2001-12-08 19:36:48 +00:00
Todd C. Miller
9af30ba66e
Emulate sigaction() using sigvec()
2001-12-08 19:23:11 +00:00
Todd C. Miller
78d67cfb53
Document new behavior of negative values of timestamp_timeout
...
Fix a typo
2001-11-13 00:32:11 +00:00
Todd C. Miller
eac21ad7bf
Add security note about command not being logged after 'sudo su' and
...
friends.
2001-11-13 00:31:20 +00:00
Todd C. Miller
031b009219
Mention that -V prints default values when run as root, including
...
the list of environment variables to clear.
2001-11-13 00:19:29 +00:00
Todd C. Miller
fc52725317
Run pod2man with --quotes=none to avoid stupid quoting of C<> entries.
2001-11-13 00:14:29 +00:00
Todd C. Miller
de9d655ea6
Add mail_badpass option
...
Also modify mail_always behavior to also send mail when the password is wrong
2001-11-12 18:13:03 +00:00
Todd C. Miller
63ae9ec2ad
Dump default bad env table when 'sudo -V' is run by root.
2001-11-12 18:08:30 +00:00
Todd C. Miller
c4c0f0046e
document env_delete
2001-11-12 04:52:23 +00:00
Todd C. Miller
65302649f5
Add support for '*' in env_keep when not resetting the environment
...
(ie: the normal case).
2001-11-12 04:51:57 +00:00
Todd C. Miller
ab020c056b
Add env_delete variable that lets the user replace/add to the bad_env_table.
...
Allow '*' wildcard in env_keep entries.
2001-11-12 04:47:22 +00:00
Todd C. Miller
07f5d7ae7e
Force umask to 022 to guarantee sane directory permissions.
2001-11-06 18:59:36 +00:00
Todd C. Miller
5133d4a34a
add sudo.tab.h and sudo.tab.c to sudo.tab.o dependency
2001-11-02 23:09:35 +00:00
Todd C. Miller
2d5486db9a
fix breakage in last commit
2001-11-02 22:25:21 +00:00
Todd C. Miller
1d232a6aaf
acsite.m4 -> aclocal.m4
2001-11-02 22:18:04 +00:00
Todd C. Miller
dea43637e8
fix I_TS_TIMEOUT vs. I_TIMESTAMP_TIMEOUT pasto in previous commit
2001-11-02 20:59:22 +00:00
Todd C. Miller
d50e2bb387
regenerated from def_data.in
2001-11-02 20:57:02 +00:00
Todd C. Miller
3550d52a90
Add new T_UINT type that most things use instead of T_INT
...
If timestamp_timeout is < 0 then treat the ticket as never expiring
(to be expired manually by the user).
2001-11-02 20:56:20 +00:00
Todd C. Miller
0906516dfe
change most T_INT -> T_UINT
2001-11-02 20:51:43 +00:00
Todd C. Miller
27a4c619bc
fix warning when no args
2001-11-02 20:51:18 +00:00
Todd C. Miller
717eb3fdf2
Change 2 Exit() -> exit()
...
Avoid stdio in Exit() and call _exit() if we are a signal handler.
We no longer print the signal number but the user can just check the
exit value for that.
2001-11-02 17:52:12 +00:00
Todd C. Miller
1fbc786d66
when setting up pipes in child process check for case where stdin == pipe fd 0
2001-10-16 05:35:26 +00:00
Todd C. Miller
d6e0c7049e
Ignore editor exit value since XPG4 says vi's exit value is the count
...
of editing errors made (failed searches, etc).
2001-10-11 17:20:33 +00:00
Todd C. Miller
d17da315a1
regen
2001-10-05 20:39:13 +00:00
Todd C. Miller
8fb718e7f4
sco now is identified by config.guess as *-sco-*
2001-10-05 20:39:05 +00:00
Todd C. Miller
89f2ab84d8
Check for getspnam() in -lgen if not in -lc for UnixWare.
2001-10-05 20:24:14 +00:00
Todd C. Miller
ace935f8aa
"upper case" -> "uppercase"
2001-09-18 01:48:48 +00:00
Todd C. Miller
51dd80bd78
fix typos and grammar; pjanzen@foatdi.harvard.edu
2001-09-18 01:32:35 +00:00
Todd C. Miller
12a9783318
Missing word (specify); krapht@secureops.com
2001-08-28 14:26:38 +00:00
Todd C. Miller
29871e4422
If we fail to lookup a login class, apply the default one.
2001-08-23 21:43:38 +00:00
Todd C. Miller
b31b73f071
In log_error() free message, not logline unconditionally, then
...
free logline if it is not the same as message. No function change
but this mirrors how they are allocated.
2001-08-23 21:42:31 +00:00
Todd C. Miller
944044e30d
regenerate
2001-07-17 03:33:57 +00:00
Todd C. Miller
7f8d2fb3e1
remove some backslash quotes that are unneeded
2001-07-17 03:33:48 +00:00
Todd C. Miller
4969fa5365
o Tweaks to make this work with autoconf-2.50
...
o Use AC_LIBOBJ instead of changing LIBOBJS directly
o Use AC_REPLACE_FUNCS where we can
o Use AC_CHECK_FUNCS instead of AC_CHECK_FUNC so we don't have to
AC_DEFINE things manually.
2001-07-17 03:30:30 +00:00
Todd C. Miller
cb79789ac0
Updated from autoconf-2.50
2001-07-17 03:28:31 +00:00
Todd C. Miller
0c3273aaf9
Update mailing list section. We use mailman now, not majordomo.
2001-05-22 23:11:21 +00:00
Todd C. Miller
11127e3468
Use setpwent()/endpwent() + all the shadow variants to make sure
...
we don't inadvertantly leak an fd to the child. Apparently Linux's
shadow routines leave the fd open even if you don't call setspent().
Reported by mike@gistnet.com ; different patch used.
2001-05-10 18:55:12 +00:00
Todd C. Miller
993409b90f
s/eg./e.g./
2001-04-13 01:43:40 +00:00
Todd C. Miller
2d9fb0a5ab
select() may return EAGAIN. If so, continue like we do for EINTR.
2001-04-13 01:42:50 +00:00
Todd C. Miller
9dd02e2fb9
Fix a non-exploitable buffer overflow in the word splitting code. This
...
should really be rewritten.
2001-04-13 01:41:57 +00:00
Todd C. Miller
c70104020b
FAQ link goes away
2001-04-13 01:41:04 +00:00
Todd C. Miller
224c77f5a3
Tell people to look in sample.syslog.conf for examples, not FAQ
2001-04-13 01:40:47 +00:00
Todd C. Miller
af93a44226
Update list of env vars that are cleared
2001-04-13 01:40:15 +00:00
Todd C. Miller
646bd70349
remove struct env_table decl since that stuff has all moved to env.c
2001-04-13 01:36:59 +00:00
Todd C. Miller
a6b005f256
Fix a pasto in flock-style unlocking and include <sys/file.h> for flock
...
on older systems; twetzel@gwdg.de
2001-04-04 17:17:04 +00:00
Todd C. Miller
6fcf09f562
regen to get NeXT lockf/flock fix
2001-04-04 17:14:52 +00:00
Todd C. Miller
a788475e5d
force NeXT to use flock since lockf is broken
2001-04-04 17:14:13 +00:00
Todd C. Miller
4f69069533
Use stashed user_gid when checking against exempt gid since sudo
...
sets its gid to a a value that makes sudoers readable. Previously
if you used gid 0 as the exempt group everyone would be exempt.
From Paul Kranenburg <pk@cs.few.eur.nl >
2001-03-30 13:54:27 +00:00
Todd C. Miller
4f1ff9a1ea
regen
2001-03-29 18:14:55 +00:00
Todd C. Miller
e2282d3e42
#include stdio.h in SUDO_CHECK_TYPE since IRIX 6 aparently defines some
...
types (such as ssize_t) therein.
2001-03-29 18:08:56 +00:00