]>
granicus.if.org Git - sudo/log
Todd C. Miller [Tue, 15 Jan 2002 20:48:40 +0000 (20:48 +0000)]
regen
Todd C. Miller [Tue, 15 Jan 2002 20:48:34 +0000 (20:48 +0000)]
add --with-efence option
Todd C. Miller [Tue, 15 Jan 2002 20:39:59 +0000 (20:39 +0000)]
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.
Todd C. Miller [Tue, 15 Jan 2002 18:16:46 +0000 (18:16 +0000)]
regen
Todd C. Miller [Tue, 15 Jan 2002 18:16:31 +0000 (18:16 +0000)]
Quoted commas were not being treated correctly in command line arguments.
Todd C. Miller [Tue, 15 Jan 2002 01:53:02 +0000 (01:53 +0000)]
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.
Todd C. Miller [Tue, 15 Jan 2002 01:45:40 +0000 (01:45 +0000)]
Add 'continue' statements to optimize the switch statement. From Solar.
Todd C. Miller [Sun, 13 Jan 2002 18:42:15 +0000 (18:42 +0000)]
Regen from new sudoers.pod
Todd C. Miller [Sun, 13 Jan 2002 18:36:44 +0000 (18:36 +0000)]
Add caveat about stay_setuid flag
Todd C. Miller [Sun, 13 Jan 2002 18:29:23 +0000 (18:29 +0000)]
If set_perms == set_perms_posix and the stay_setuid flag is not
set, set all uids to 0 and use set_perms_fallback().
Todd C. Miller [Sun, 13 Jan 2002 18:28:09 +0000 (18:28 +0000)]
Remove PERM_FULL_USER (which is no longer used) and add PERM_FULL_ROOT
(used when exec'ing the mailer).
Todd C. Miller [Sun, 13 Jan 2002 18:27:25 +0000 (18:27 +0000)]
Use set_perms(PERM_FULL_ROOT, 0) before exec'ing the mailer since we never
want to run the mailer setuid.
Todd C. Miller [Sat, 12 Jan 2002 22:55:01 +0000 (22:55 +0000)]
Use sudo.ws instead of courtesan.com in URLs
Todd C. Miller [Sat, 12 Jan 2002 19:00:15 +0000 (19:00 +0000)]
Fix mansect substitution
Todd C. Miller [Sat, 12 Jan 2002 18:15:53 +0000 (18:15 +0000)]
Substitute man sections in Makefile.binary
Todd C. Miller [Sat, 12 Jan 2002 18:15:34 +0000 (18:15 +0000)]
Sync install targets with Makefile.in and substitute in man sections.
Todd C. Miller [Sat, 12 Jan 2002 18:09:55 +0000 (18:09 +0000)]
version is 1.6.4
Todd C. Miller [Sat, 12 Jan 2002 17:59:01 +0000 (17:59 +0000)]
Repair bindist target
Todd C. Miller [Sat, 12 Jan 2002 16:43:14 +0000 (16:43 +0000)]
sync for 1.6.4
Todd C. Miller [Thu, 10 Jan 2002 18:00:58 +0000 (18:00 +0000)]
Fix case where neither whoami nor id are found
Todd C. Miller [Wed, 9 Jan 2002 17:35:14 +0000 (17:35 +0000)]
If neither whoami nor id exists, just assume we are root.
Todd C. Miller [Wed, 9 Jan 2002 16:56:04 +0000 (16:56 +0000)]
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.
Todd C. Miller [Tue, 8 Jan 2002 15:00:18 +0000 (15:00 +0000)]
(c) 2002
Todd C. Miller [Tue, 8 Jan 2002 14:21:14 +0000 (14:21 +0000)]
checkpoint
Todd C. Miller [Tue, 8 Jan 2002 14:20:57 +0000 (14:20 +0000)]
Defer assigning new environment until right before the exec.
Todd C. Miller [Tue, 8 Jan 2002 14:08:23 +0000 (14:08 +0000)]
kill extra blank line
Todd C. Miller [Mon, 7 Jan 2002 18:59:59 +0000 (18:59 +0000)]
regen
Todd C. Miller [Mon, 7 Jan 2002 18:59:47 +0000 (18:59 +0000)]
Use -O not -O2 for m88k-motorola-sysv* since motorola gcc-derived
compiler doesn't recognise -O2.
Todd C. Miller [Mon, 7 Jan 2002 04:02:04 +0000 (04:02 +0000)]
Clarify origins of Root Group sudo a bit based on info from billp@rootgroup.com
Todd C. Miller [Thu, 3 Jan 2002 03:41:25 +0000 (03:41 +0000)]
2002
Todd C. Miller [Thu, 3 Jan 2002 03:26:24 +0000 (03:26 +0000)]
checkpoint for 1.6.4rc1
Todd C. Miller [Wed, 2 Jan 2002 22:40:14 +0000 (22:40 +0000)]
now generated via autoheader
Todd C. Miller [Wed, 2 Jan 2002 22:40:04 +0000 (22:40 +0000)]
regen
Todd C. Miller [Wed, 2 Jan 2002 22:37:19 +0000 (22:37 +0000)]
Move in some stuff that was previously in config.h.
Todd C. Miller [Wed, 2 Jan 2002 22:36:50 +0000 (22:36 +0000)]
Add info for autoheader.
Todd C. Miller [Tue, 1 Jan 2002 21:53:12 +0000 (21:53 +0000)]
o Add DESTDIR support
o Use -M, -O, and -G instead of -m, -o, and -g to facilitate non-root installs
Todd C. Miller [Tue, 1 Jan 2002 21:48:26 +0000 (21:48 +0000)]
Add -M option (like -m but only for root)
If we can't find "whoami", use "id" w/ some sed.
Todd C. Miller [Tue, 1 Jan 2002 19:01:21 +0000 (19:01 +0000)]
regen
Todd C. Miller [Tue, 1 Jan 2002 19:00:41 +0000 (19:00 +0000)]
allow user to always override mansectsu and mansectform
Todd C. Miller [Mon, 31 Dec 2001 22:05:23 +0000 (22:05 +0000)]
update from autoconf 2.52
Todd C. Miller [Mon, 31 Dec 2001 22:03:48 +0000 (22:03 +0000)]
Update from autoconf 2.52
Todd C. Miller [Mon, 31 Dec 2001 21:57:37 +0000 (21:57 +0000)]
regen with autoconf 2.52
Todd C. Miller [Mon, 31 Dec 2001 21:57:16 +0000 (21:57 +0000)]
o Call AC_PROG_CC_STDC to find out how to run the compiler in ANSI mode
o Remove compiler-specific checks for HP-UX now that we use AC_PROG_CC_STDC
Todd C. Miller [Mon, 31 Dec 2001 17:19:24 +0000 (17:19 +0000)]
Checkpoint
Todd C. Miller [Mon, 31 Dec 2001 17:18:12 +0000 (17:18 +0000)]
o Add pam_prep_user function to call pam_setcred() for the target user;
on Linux this often sets resource limits.
o When calling pam_end(), try to convert the auth->result to a PAM_FOO
value. This is a hack--we really need to stash the last PAM_FOO
value received and use that instead.
Todd C. Miller [Mon, 31 Dec 2001 17:18:05 +0000 (17:18 +0000)]
o Add pam_prep_user function to call pam_setcred() for the target user;
on Linux this often sets resource limits.
Todd C. Miller [Mon, 31 Dec 2001 05:53:23 +0000 (05:53 +0000)]
Fix off by one error in number of bytes allocated via malloc (does not
affected any released version of sudo).
Todd C. Miller [Sun, 30 Dec 2001 22:12:17 +0000 (22:12 +0000)]
regen
Todd C. Miller [Sun, 30 Dec 2001 22:12:06 +0000 (22:12 +0000)]
Allow '@', '(', ')', ':' in arguments to a defaults variable
w/o requiring that they be quoted.
Todd C. Miller [Sun, 30 Dec 2001 19:26:22 +0000 (19:26 +0000)]
Mention that no double quotes are needed when adding/deleting/assigning
a single value to a list.
Todd C. Miller [Sun, 30 Dec 2001 18:58:34 +0000 (18:58 +0000)]
Don't rely on mkdefaults being executable, call perl explicitly.
Todd C. Miller [Sun, 30 Dec 2001 18:45:41 +0000 (18:45 +0000)]
regen
Todd C. Miller [Sun, 30 Dec 2001 18:41:12 +0000 (18:41 +0000)]
Remove some XXX that are no longer relevant.
Todd C. Miller [Sun, 30 Dec 2001 18:40:09 +0000 (18:40 +0000)]
o Roll our own loop instead of using strpbrk() for better grokability
o When adding to a list we must malloc() and use memcpy(), not strdup()
since we must only copy len bytes from str.
Todd C. Miller [Fri, 21 Dec 2001 21:49:28 +0000 (21:49 +0000)]
regen
Todd C. Miller [Fri, 21 Dec 2001 21:49:05 +0000 (21:49 +0000)]
typo in comment
Todd C. Miller [Wed, 19 Dec 2001 16:50:22 +0000 (16:50 +0000)]
checkpoint
Todd C. Miller [Wed, 19 Dec 2001 15:56:56 +0000 (15:56 +0000)]
regen
Todd C. Miller [Wed, 19 Dec 2001 15:56:47 +0000 (15:56 +0000)]
avoid the -g flag unless --with-devel was specified
Todd C. Miller [Wed, 19 Dec 2001 15:04:46 +0000 (15:04 +0000)]
mkdefaults, def_data.in and sigaction.c were missing from the tarball
Todd C. Miller [Wed, 19 Dec 2001 14:46:05 +0000 (14:46 +0000)]
def_data.c was missing
Todd C. Miller [Tue, 18 Dec 2001 17:42:37 +0000 (17:42 +0000)]
Fix setting of $USER and $LOGNAME in the non-reset_env case.
Also allow HOME, SHELL, LOGNAME, and USER to be specified in keep_env
Todd C. Miller [Tue, 18 Dec 2001 01:48:51 +0000 (01:48 +0000)]
Another TODO item
Todd C. Miller [Tue, 18 Dec 2001 00:50:06 +0000 (00:50 +0000)]
Add comment for Default section so folks know where it should go.
Todd C. Miller [Mon, 17 Dec 2001 23:56:47 +0000 (23:56 +0000)]
Use TCSETAF, not TCSETA to set terminal in termio case
Todd C. Miller [Mon, 17 Dec 2001 23:35:57 +0000 (23:35 +0000)]
regen from sudoers.pod
Todd C. Miller [Mon, 17 Dec 2001 23:33:47 +0000 (23:33 +0000)]
o Typo, Runas_User_List should be Runas_List
o a User_List can not contain a uid
o mention that the Defaults section should come after Alias
definitions but before the user specifications
Todd C. Miller [Sat, 15 Dec 2001 16:51:28 +0000 (16:51 +0000)]
regen
Todd C. Miller [Sat, 15 Dec 2001 16:51:11 +0000 (16:51 +0000)]
Fix listpw and verifypw sections, they were not being formatted properly.
Todd C. Miller [Sat, 15 Dec 2001 16:39:51 +0000 (16:39 +0000)]
regen
Todd C. Miller [Sat, 15 Dec 2001 16:38:21 +0000 (16:38 +0000)]
fix typos
Todd C. Miller [Sat, 15 Dec 2001 15:57:06 +0000 (15:57 +0000)]
regen
Todd C. Miller [Sat, 15 Dec 2001 15:57:03 +0000 (15:57 +0000)]
use AC_SYS_POSIX_TERMIOS instead of rolling our own
Todd C. Miller [Sat, 15 Dec 2001 15:33:43 +0000 (15:33 +0000)]
Reference sudo.ws not courtesan.com
Todd C. Miller [Sat, 15 Dec 2001 15:29:57 +0000 (15:29 +0000)]
Add notes on shadow passwords
Todd C. Miller [Sat, 15 Dec 2001 05:48:06 +0000 (05:48 +0000)]
In list mode (sudo -l), characters escaped with a backslash
are shown verbatim with the backslash.
Todd C. Miller [Sat, 15 Dec 2001 05:44:06 +0000 (05:44 +0000)]
Add simple examples from OpenBSD (Marc Espie)
Todd C. Miller [Sat, 15 Dec 2001 05:40:12 +0000 (05:40 +0000)]
Catch SIGTTIN and SIGTTOU too and treat them like SIGTSTP.
Todd C. Miller [Sat, 15 Dec 2001 02:53:20 +0000 (02:53 +0000)]
minor prettyification
Todd C. Miller [Sat, 15 Dec 2001 02:43:28 +0000 (02:43 +0000)]
Updated change log
Todd C. Miller [Sat, 15 Dec 2001 02:27:17 +0000 (02:27 +0000)]
Fix CIDR handling here too.
Todd C. Miller [Sat, 15 Dec 2001 02:21:53 +0000 (02:21 +0000)]
Apparently a NULL response is OK
Todd C. Miller [Sat, 15 Dec 2001 02:19:28 +0000 (02:19 +0000)]
Checkpoint for upcoming beta release
Todd C. Miller [Sat, 15 Dec 2001 02:17:14 +0000 (02:17 +0000)]
Many people believe that adding a runas spec should obviate the need
for the -u flag. It does not.
Todd C. Miller [Sat, 15 Dec 2001 02:11:03 +0000 (02:11 +0000)]
checkpoint update for upcoming 1.6.4 beta
Todd C. Miller [Sat, 15 Dec 2001 01:44:10 +0000 (01:44 +0000)]
o Add HAVE_STDLIB_H and HAVE_MEMORY_H
o Define HAVE_STRINGS_H even if HAVE_STRING_H is defined -- this is safe now
Todd C. Miller [Sat, 15 Dec 2001 01:07:13 +0000 (01:07 +0000)]
Add signals section
Todd C. Miller [Sat, 15 Dec 2001 01:00:45 +0000 (01:00 +0000)]
regen
Todd C. Miller [Sat, 15 Dec 2001 01:00:38 +0000 (01:00 +0000)]
Fix check for sigaction_t
Todd C. Miller [Sat, 15 Dec 2001 00:45:13 +0000 (00:45 +0000)]
XXX - should call find_path() as runas user, not root. Can't do
that until the parser changes though.
Todd C. Miller [Sat, 15 Dec 2001 00:38:06 +0000 (00:38 +0000)]
If find_path() fails as root, try again as the invoking user (useful
for NFS). Idea from Chip Capelik.
Todd C. Miller [Sat, 15 Dec 2001 00:28:34 +0000 (00:28 +0000)]
Regenerate after pod file changes
Todd C. Miller [Sat, 15 Dec 2001 00:24:27 +0000 (00:24 +0000)]
Add new sudoers option "preserve_groups". Previously sudo would not
call initgroups() if the target user was root. Now it always calls
initgroups() unless the -P command line option or the "preserve_groups"
sudoers option is set. Idea from TJ Saunders.
Todd C. Miller [Fri, 14 Dec 2001 23:38:31 +0000 (23:38 +0000)]
Use new HAVE_SIGACTION_T define
Todd C. Miller [Fri, 14 Dec 2001 23:33:38 +0000 (23:33 +0000)]
Fix compilation on K&C
Todd C. Miller [Fri, 14 Dec 2001 23:14:47 +0000 (23:14 +0000)]
regen
Todd C. Miller [Fri, 14 Dec 2001 23:14:36 +0000 (23:14 +0000)]
Add check for sigaction_t -- IRIX already defines this so don't redefine it.
Todd C. Miller [Fri, 14 Dec 2001 22:15:56 +0000 (22:15 +0000)]
fix typo
Todd C. Miller [Fri, 14 Dec 2001 22:12:39 +0000 (22:12 +0000)]
need stdlib.h here too
Todd C. Miller [Fri, 14 Dec 2001 20:31:33 +0000 (20:31 +0000)]
regen