Todd C. Miller
c0eb8bfd9a
regen
2002-01-18 19:18:57 +00:00
Todd C. Miller
1c91394578
o BSDi also has a bogus setreuid()
...
o Old FreeBSD has a bogus setreuid()
o new NetBSD has a real setreuid()
o add check for freeifaddrs() if getifaddrs() exists.
2002-01-18 19:18:39 +00:00
Todd C. Miller
35014b44bc
Older BSDi releases lack freeifaddrs() so add a test for that and if
...
it is not present just use free().
2002-01-18 19:17:07 +00:00
Todd C. Miller
10a86c7711
Checkpoint for 1.6.5p1
2002-01-17 16:30:53 +00:00
Todd C. Miller
05d1f02909
Return AUTH_FAILURE in passwd_init() if skeyaccess() denies access
...
to normal passwords, not AUTH_FATAL (which just causes an exit).
2002-01-17 15:56:15 +00:00
Todd C. Miller
1b6bfbf452
Don't use memory after it has been freed.
2002-01-17 15:35:54 +00:00
Todd C. Miller
437464847c
skeyaccess() wants a struct passwd * not a char *; Patch from Phillip E. Lobbes
2002-01-17 05:24:28 +00:00
Todd C. Miller
aba0e43daa
++version
2002-01-17 01:00:53 +00:00
Todd C. Miller
ea2bfc5fd6
checkpoint for sudo 1.6.5
2002-01-17 00:53:58 +00:00
Todd C. Miller
a7a5dc39f4
regen
2002-01-16 23:37:43 +00:00
Todd C. Miller
b72dadcb95
version 1.6.5
2002-01-16 23:37:34 +00:00
Todd C. Miller
16472afa0d
sudo version 1.6.5
2002-01-16 23:37:01 +00:00
Todd C. Miller
261f819073
o when invoking the mailer as root use a hard-coded environment that
...
doesn't include any info from the user's environment. Basically
paranoia.
o Add support for the NO_ROOT_MAILER compile-time option and run the
mailer as the user and not root if NO_ROOT_MAILER is defined.
2002-01-16 21:28:25 +00:00
Todd C. Miller
fec1b63caa
Bring back PERM_FULL_USER
2002-01-16 21:27:09 +00:00
Todd C. Miller
7b2219c085
regen
2002-01-16 21:26:47 +00:00
Todd C. Miller
4d48d93a7b
version 1.6.5
2002-01-16 21:26:27 +00:00
Todd C. Miller
0aac4f03b7
Add --disable-root-mailer option to run the mailer as the user and not root.
2002-01-16 21:26:13 +00:00
Todd C. Miller
5694aa5320
checkpoint for 1.6.4p2
2002-01-16 17:44:11 +00:00
Todd C. Miller
c12bb733b4
Mention the "seteuid(0): Operation not permitted" problem here too
...
just for good measure.
2002-01-16 00:22:21 +00:00
Todd C. Miller
ea24bef19c
The SHELL environment variable was preserved from the user's
...
environment instead of being reset based on the passwd database
when the "env_reset" option was used. Now it is reset as it should be.
2002-01-15 23:43:59 +00:00
Todd C. Miller
5236ceedf7
regen
2002-01-15 22:47:38 +00:00
Todd C. Miller
f039427253
Add a configure option to turn off use of POSIX saved IDs
2002-01-15 22:47:29 +00:00
Todd C. Miller
62233923e0
regen
2002-01-15 20:48:40 +00:00
Todd C. Miller
495dc92488
add --with-efence option
2002-01-15 20:48:34 +00:00
Todd C. Miller
eb97ce45ea
Only OR in MODE_RESET_HOME if MODE_RUN is set.
...
Fixes a problem where "sudo -l" would not work if always_set_home was set.
2002-01-15 20:39:59 +00:00
Todd C. Miller
8b7187483b
regen
2002-01-15 18:16:46 +00:00
Todd C. Miller
08b394dc39
Quoted commas were not being treated correctly in command line arguments.
2002-01-15 18:16:31 +00:00
Todd C. Miller
26e835b096
o Move the call to rebuild_env() until after MODE_RESET_HOME is set.
...
Otherwise, the set_home option has no effect.
o Fix use of freed memory when the "fqdn" flag is set. This was
introduced by the fix for the "segv when gethostbynam() fails" bug.
Also, we no longer call set_fqdn() if the "fqdn" flag is not set so
there is no need to check the "fqdn" flag in set_fqdn() itself.
2002-01-15 01:53:02 +00:00
Todd C. Miller
1b6d4ad876
Add 'continue' statements to optimize the switch statement. From Solar.
2002-01-15 01:45:40 +00:00
Todd C. Miller
e869e0eb50
Regen from new sudoers.pod
2002-01-13 18:42:15 +00:00
Todd C. Miller
017366ce4a
Add caveat about stay_setuid flag
2002-01-13 18:36:44 +00:00
Todd C. Miller
9eac6eeaa3
If set_perms == set_perms_posix and the stay_setuid flag is not
...
set, set all uids to 0 and use set_perms_fallback().
2002-01-13 18:29:23 +00:00
Todd C. Miller
26f2a96558
Remove PERM_FULL_USER (which is no longer used) and add PERM_FULL_ROOT
...
(used when exec'ing the mailer).
2002-01-13 18:28:09 +00:00
Todd C. Miller
ddf96f301d
Use set_perms(PERM_FULL_ROOT, 0) before exec'ing the mailer since we never
...
want to run the mailer setuid.
2002-01-13 18:27:25 +00:00
Todd C. Miller
2abe7d8e13
Use sudo.ws instead of courtesan.com in URLs
2002-01-12 22:55:01 +00:00
Todd C. Miller
96fc0545c2
Fix mansect substitution
2002-01-12 19:00:15 +00:00
Todd C. Miller
43a65bb5c6
Substitute man sections in Makefile.binary
2002-01-12 18:15:53 +00:00
Todd C. Miller
a6be68c673
Sync install targets with Makefile.in and substitute in man sections.
2002-01-12 18:15:34 +00:00
Todd C. Miller
e1b65f1e6a
version is 1.6.4
2002-01-12 18:09:55 +00:00
Todd C. Miller
33336389ee
Repair bindist target
2002-01-12 17:59:01 +00:00
Todd C. Miller
81b534b292
sync for 1.6.4
2002-01-12 16:43:14 +00:00
Todd C. Miller
2fe1bcd3de
Fix case where neither whoami nor id are found
2002-01-10 18:00:58 +00:00
Todd C. Miller
0244c4ee6c
If neither whoami nor id exists, just assume we are root.
2002-01-09 17:35:14 +00:00
Todd C. Miller
b7da5ec518
Add explicit cast to (VOID *) on malloc/realloc. Seems to be needed
...
on AIX which for some reason isn't pulling in the malloc prototype.
2002-01-09 16:56:04 +00:00
Todd C. Miller
a82e7a8efe
(c) 2002
2002-01-08 15:00:18 +00:00
Todd C. Miller
d0847eb01f
checkpoint
2002-01-08 14:21:14 +00:00
Todd C. Miller
53299b78a0
Defer assigning new environment until right before the exec.
2002-01-08 14:20:57 +00:00
Todd C. Miller
bd74bbdfb0
kill extra blank line
2002-01-08 14:08:23 +00:00
Todd C. Miller
5849db069c
regen
2002-01-07 18:59:59 +00:00
Todd C. Miller
de7c188450
Use -O not -O2 for m88k-motorola-sysv* since motorola gcc-derived
...
compiler doesn't recognise -O2.
2002-01-07 18:59:47 +00:00