]>
granicus.if.org Git - sudo/log
Todd C. Miller [Wed, 7 Apr 1999 00:24:36 +0000 (00:24 +0000)]
runas-lists and NOPASSWD/PASSWD modifiers are now sticky and you can use "!" most everywhere
Todd C. Miller [Tue, 6 Apr 1999 18:12:08 +0000 (18:12 +0000)]
modernize paths and update su example based on sample.sudoers one
Todd C. Miller [Tue, 6 Apr 1999 18:06:12 +0000 (18:06 +0000)]
New runas semantics
Todd C. Miller [Tue, 6 Apr 1999 17:55:01 +0000 (17:55 +0000)]
In estrdup(), do the malloc ourselves so we don't need to rely on the
system strdup(3) which may or may not exist. There is now no need to
provide strdup() for those w/o it. Also, the prototype for estrdup()
was wrong, it returns char * and its param is const.
Todd C. Miller [Tue, 6 Apr 1999 17:40:49 +0000 (17:40 +0000)]
$Sudo tag
Todd C. Miller [Tue, 6 Apr 1999 17:20:39 +0000 (17:20 +0000)]
buf should be prompt; Michael Robokoff <mrobo@networkcs.com>
Todd C. Miller [Tue, 6 Apr 1999 05:40:51 +0000 (05:40 +0000)]
It is now possible to use the '!' operator in a runas list as
well as in a Cmnd_Alias, Host_Alias and User_Alias.
Todd C. Miller [Tue, 6 Apr 1999 05:38:59 +0000 (05:38 +0000)]
Kill GLOBAL_NO_SPW_ENT (not used) and crank GLOBAL_PROBLEM
Todd C. Miller [Tue, 6 Apr 1999 05:08:40 +0000 (05:08 +0000)]
Definitions of *_matched were wrong--user top, not top-2 as subscript.
Todd C. Miller [Tue, 6 Apr 1999 05:00:29 +0000 (05:00 +0000)]
Add VALIDATE_NOT_OK_NOPASS for when user is not allowed to run a command
but the NOPASSWD flag was set.
Make runasspec, runaslist, runasuser, and nopasswd typeless in parse.yacc
Add support for '!' in the runas list
Fix double printing of '%' and '+' for groups and netgroups respectively
Add *_matched macros (no need for local stack variable). Should only be
used directly after a pop (since top must be >= 2).
Todd C. Miller [Tue, 6 Apr 1999 03:25:46 +0000 (03:25 +0000)]
Add copyright, somewhat silly
Todd C. Miller [Mon, 5 Apr 1999 20:57:25 +0000 (20:57 +0000)]
Crank version to 1.6 and combine copyright statements
Todd C. Miller [Mon, 5 Apr 1999 20:30:15 +0000 (20:30 +0000)]
Use ! not ^ to do negation
Todd C. Miller [Mon, 5 Apr 1999 20:29:54 +0000 (20:29 +0000)]
regen
Todd C. Miller [Mon, 5 Apr 1999 20:28:16 +0000 (20:28 +0000)]
Make runas and NOPASSWD tags persistent across entris in a command list.
Add a PASSWD tag to reverse NOPASSWD. When you override a runas or *PASSWD
tag the value given becomes the new default for the rest of the command list.
Todd C. Miller [Fri, 2 Apr 1999 21:03:17 +0000 (21:03 +0000)]
update for 1.5.9
Todd C. Miller [Fri, 2 Apr 1999 21:02:57 +0000 (21:02 +0000)]
Shift return value of system(3) by 8 to get real exit value and if it is not 1 or 0 print the retval along with the error message.
Todd C. Miller [Tue, 30 Mar 1999 21:45:27 +0000 (21:45 +0000)]
testsudoers needs LIBOBJS too
Todd C. Miller [Tue, 30 Mar 1999 17:17:54 +0000 (17:17 +0000)]
Fix another parser bug. For a sudoers entry like this:
millert ALL=/bin/ls,(daemon) !/bin/ls
sudo would not allow millert to run ls as root.
Todd C. Miller [Tue, 30 Mar 1999 06:08:42 +0000 (06:08 +0000)]
new change
Todd C. Miller [Tue, 30 Mar 1999 06:03:38 +0000 (06:03 +0000)]
Save entries that match a ! command on the matching stack too
Todd C. Miller [Tue, 30 Mar 1999 06:01:46 +0000 (06:01 +0000)]
Make sudo's usage info better when mutually exclusive args are given and don't rely on argument order to detect this; nick@zeta.org.au
Todd C. Miller [Mon, 29 Mar 1999 20:03:02 +0000 (20:03 +0000)]
updates from CU
Todd C. Miller [Mon, 29 Mar 1999 04:38:06 +0000 (04:38 +0000)]
use gzip
Todd C. Miller [Mon, 29 Mar 1999 04:31:16 +0000 (04:31 +0000)]
Fix off by one error introduced in *alloc changes
Todd C. Miller [Mon, 29 Mar 1999 04:05:15 +0000 (04:05 +0000)]
++version
Todd C. Miller [Mon, 29 Mar 1999 02:59:34 +0000 (02:59 +0000)]
Use emalloc/erealloc/estrdup
Todd C. Miller [Mon, 29 Mar 1999 01:29:02 +0000 (01:29 +0000)]
error checking memory allocation routines
Todd C. Miller [Mon, 29 Mar 1999 00:23:49 +0000 (00:23 +0000)]
Still not right, this fixes it for real
Todd C. Miller [Mon, 29 Mar 1999 00:08:02 +0000 (00:08 +0000)]
Fix for previous commit
Todd C. Miller [Mon, 29 Mar 1999 00:05:15 +0000 (00:05 +0000)]
Fix a parser bug that was exposed when mixing different runas specs
and ! commands. For example:
millert ALL=(daemon) /usr/bin/whoami,!/bin/ls
would allow millert to run whoami as root as well as daemon when it should
just allow daemon. The problem was that comma-separated commands in
a list shared the same entry on the matching stack. Now they get
their own entry iff there is a full match. It may be better to just make
the runas spec persistent across all commands in a list like the user
and host entries of the matching stack. However, since that is a
fairly major change it should gets its own minor rev increase.
Todd C. Miller [Sun, 28 Mar 1999 18:50:25 +0000 (18:50 +0000)]
Simplify PAM code and fix a PAM-related warning on Linux
Todd C. Miller [Fri, 26 Mar 1999 18:17:43 +0000 (18:17 +0000)]
updates
Todd C. Miller [Fri, 26 Mar 1999 18:12:22 +0000 (18:12 +0000)]
better su entry
Todd C. Miller [Fri, 26 Mar 1999 18:10:25 +0000 (18:10 +0000)]
regen
Todd C. Miller [Fri, 26 Mar 1999 18:09:09 +0000 (18:09 +0000)]
new pam code that works on solaris, should work on linux too; aelberg@home.com
Todd C. Miller [Fri, 19 Mar 1999 19:44:46 +0000 (19:44 +0000)]
more entries
Todd C. Miller [Fri, 19 Mar 1999 19:43:28 +0000 (19:43 +0000)]
only include strings.h if there is no string.h
Todd C. Miller [Wed, 17 Mar 1999 20:25:39 +0000 (20:25 +0000)]
Sinix is now being called ReliantUNIX; bjjackso@us.oracle.com
Todd C. Miller [Sat, 13 Mar 1999 18:37:57 +0000 (18:37 +0000)]
shost must be set before log functions are called #ifdef HOST_IN_LOG
Todd C. Miller [Sun, 7 Mar 1999 23:34:31 +0000 (23:34 +0000)]
Fix a bug wrt quoting characters in command args. Stop processing an arg when you hit a backslash so the quoted-character detection can catch it.
Todd C. Miller [Fri, 26 Feb 1999 06:19:49 +0000 (06:19 +0000)]
include sys/time.h; aparently AIX needs it. ppz@cdu.elektra.ru
Todd C. Miller [Wed, 24 Feb 1999 00:43:51 +0000 (00:43 +0000)]
add missing case statement so --without-sendmail works
Todd C. Miller [Tue, 23 Feb 1999 02:51:43 +0000 (02:51 +0000)]
more
Todd C. Miller [Mon, 22 Feb 1999 20:10:51 +0000 (20:10 +0000)]
only search for -lsun in irix <= 4.x
Todd C. Miller [Mon, 22 Feb 1999 20:01:47 +0000 (20:01 +0000)]
back out last configure.in change now that I've hacked autoconf to fix the real problem and add a missing newline
Todd C. Miller [Mon, 22 Feb 1999 19:32:43 +0000 (19:32 +0000)]
updated
Todd C. Miller [Mon, 22 Feb 1999 19:05:06 +0000 (19:05 +0000)]
add def of dirfd() for those without it
Todd C. Miller [Mon, 22 Feb 1999 15:58:11 +0000 (15:58 +0000)]
When falling back to checking for socket() when linking with "-lsocket -lnsl" check for main() instead since autoconf has already cached the results of checking for socket() in -lsocket. This is really an autoconf bug as it should use the extra libs as part of the cache variable name.
Todd C. Miller [Mon, 22 Feb 1999 15:47:44 +0000 (15:47 +0000)]
typo
Todd C. Miller [Sun, 21 Feb 1999 20:18:29 +0000 (20:18 +0000)]
fix occurrence of $with_timeout that should be $with_password_timeout; Michael.Neef@neuroinformatik.ruhr-uni-bochum.de
Todd C. Miller [Wed, 17 Feb 1999 16:40:55 +0000 (16:40 +0000)]
fix grammar; espie@openbsd.org
Todd C. Miller [Thu, 11 Feb 1999 06:41:32 +0000 (06:41 +0000)]
add cast for strdup in places it does not have it
Todd C. Miller [Tue, 9 Feb 1999 18:11:51 +0000 (18:11 +0000)]
define for_BSD_TYPES irix
Todd C. Miller [Sun, 7 Feb 1999 00:47:32 +0000 (00:47 +0000)]
Make it clear that it is the user's password, not root's, that we want.
Todd C. Miller [Sun, 7 Feb 1999 00:43:24 +0000 (00:43 +0000)]
If the user enters an empty password and really has no password, accept
the empty password they entered. Perviously, they could enter anything
*but* an empty password. Also, add GETPASS macro that calls either
tgetpass() or getpass() depending on how sudo was configured.
Problem noted by jdg@maths.qmw.ac.uk
Todd C. Miller [Wed, 3 Feb 1999 04:32:19 +0000 (04:32 +0000)]
add explicate copyright
Todd C. Miller [Wed, 3 Feb 1999 04:16:21 +0000 (04:16 +0000)]
mention -lsocket, -lnsl configure changes
Todd C. Miller [Tue, 2 Feb 1999 22:54:04 +0000 (22:54 +0000)]
Don't clobber errno after calling check_sudoers().
Todd C. Miller [Mon, 1 Feb 1999 00:46:13 +0000 (00:46 +0000)]
When linking with both -lsocket and -lnsl be sure to do so in that order. Also, when we can't find socket() or inet_addr() and have to try linking with both libs, issue a warning.
Todd C. Miller [Mon, 1 Feb 1999 00:45:02 +0000 (00:45 +0000)]
clarify bad timestamp and fmt
Todd C. Miller [Sat, 23 Jan 1999 17:18:28 +0000 (17:18 +0000)]
be clear that pam is linux-only and add a RUNSON entry
Todd C. Miller [Fri, 22 Jan 1999 18:13:16 +0000 (18:13 +0000)]
fix and correctly document --with-umask; problem noted by adap@adap.org
Todd C. Miller [Wed, 20 Jan 1999 01:38:25 +0000 (01:38 +0000)]
only use /usr/{man,catman}/local to store man pages if suer didn't override prefix or mandir
Todd C. Miller [Wed, 20 Jan 1999 01:24:41 +0000 (01:24 +0000)]
fix typo, make --with-SecurID take an arg
Todd C. Miller [Tue, 19 Jan 1999 02:53:30 +0000 (02:53 +0000)]
updates from users
Todd C. Miller [Tue, 19 Jan 1999 02:04:41 +0000 (02:04 +0000)]
FWTK 'authsrv' support from Kevin Kadow <kadow@MSG.NET>
Todd C. Miller [Tue, 19 Jan 1999 01:00:20 +0000 (01:00 +0000)]
better fix for the problem of unresolved symbols in -lnsl or -lsocket
Todd C. Miller [Tue, 19 Jan 1999 00:39:15 +0000 (00:39 +0000)]
when checking for functions in -lnsl and -lsocket link with both of them to avoid unresolved symbols on some weirdo systems
Todd C. Miller [Mon, 18 Jan 1999 01:49:34 +0000 (01:49 +0000)]
old changes that didn't make it into RCS before the RCS->CVS switch
Todd C. Miller [Sun, 17 Jan 1999 23:16:20 +0000 (23:16 +0000)]
add sudo tags
Todd C. Miller [Sun, 17 Jan 1999 22:56:56 +0000 (22:56 +0000)]
testing Sudo tag
Todd C. Miller [Sun, 17 Jan 1999 22:53:58 +0000 (22:53 +0000)]
testing Sudo tag
Todd C. Miller [Sun, 17 Jan 1999 22:40:55 +0000 (22:40 +0000)]
crank version and regen files
Todd C. Miller [Sun, 17 Jan 1999 22:27:01 +0000 (22:27 +0000)]
kill rcs goop in update_version and fix now that version is a const
Todd C. Miller [Sun, 17 Jan 1999 22:08:55 +0000 (22:08 +0000)]
kerb5 support from fcusack@iconnet.net
Todd C. Miller [Sun, 17 Jan 1999 21:45:50 +0000 (21:45 +0000)]
we no longer use realpath
Todd C. Miller [Sun, 17 Jan 1999 21:44:36 +0000 (21:44 +0000)]
replaced by find_path.c
Todd C. Miller [Sun, 17 Jan 1999 21:43:08 +0000 (21:43 +0000)]
all options are now configure flags
Todd C. Miller [Sun, 17 Jan 1999 21:42:12 +0000 (21:42 +0000)]
regen
Todd C. Miller [Sun, 17 Jan 1999 21:41:21 +0000 (21:41 +0000)]
superceded by getcwd.c
Todd C. Miller [Sun, 17 Jan 1999 21:36:57 +0000 (21:36 +0000)]
superceded by tgetpass.c
Todd C. Miller [Sun, 17 Jan 1999 21:36:06 +0000 (21:36 +0000)]
superceded by RUNSON
Todd C. Miller [Sun, 17 Jan 1999 21:33:55 +0000 (21:33 +0000)]
No longer used now that we have configure options for everything.
Todd C. Miller [Sun, 17 Jan 1999 21:32:35 +0000 (21:32 +0000)]
regen based on configure.in
Todd C. Miller [Sun, 17 Jan 1999 21:31:39 +0000 (21:31 +0000)]
regen based on sudo.pod, sudoers.pod, and visudo.pod
Todd C. Miller [Fri, 11 Dec 1998 17:16:26 +0000 (17:16 +0000)]
fix tty tickets in remove_timestamp (didn't use ':')
Todd C. Miller [Mon, 7 Dec 1998 21:16:00 +0000 (21:16 +0000)]
close sock when we are done with it
Todd C. Miller [Sat, 28 Nov 1998 00:37:51 +0000 (00:37 +0000)]
never say "error on line -1"
Todd C. Miller [Tue, 24 Nov 1998 04:38:53 +0000 (04:38 +0000)]
check for -lnsl before -lsocket
Todd C. Miller [Tue, 24 Nov 1998 04:29:50 +0000 (04:29 +0000)]
quote '[', ']' used in ranges correctly
Todd C. Miller [Sat, 21 Nov 1998 22:54:31 +0000 (22:54 +0000)]
add missing NO_ROOT_SUDO
noted by drno@tsd.edu
Todd C. Miller [Fri, 20 Nov 1998 23:33:52 +0000 (23:33 +0000)]
1.5.7
Todd C. Miller [Fri, 20 Nov 1998 23:33:04 +0000 (23:33 +0000)]
more info for 1.5.7
Todd C. Miller [Fri, 20 Nov 1998 23:30:52 +0000 (23:30 +0000)]
update for 1.5.7
Todd C. Miller [Fri, 20 Nov 1998 19:26:16 +0000 (19:26 +0000)]
make increases of cm_list_size and ga_list_size be similar to
increases of stacksize (ie: >= not > in initial compare).
Todd C. Miller [Fri, 20 Nov 1998 19:22:45 +0000 (19:22 +0000)]
when we get a syntax error, report it for the previous line since
that's generally where the error occurred.
Todd C. Miller [Wed, 18 Nov 1998 20:31:25 +0000 (20:31 +0000)]
add back check for sys/sockio.h but only use it if SIOCGIFCONF
is not defined
Todd C. Miller [Wed, 18 Nov 1998 20:25:12 +0000 (20:25 +0000)]
define BSD_COMP for svr4
Todd C. Miller [Wed, 18 Nov 1998 04:16:13 +0000 (04:16 +0000)]
more -Wall