]> granicus.if.org Git - sudo/log
sudo
25 years agoMove the push from the beginning of cmndspec to the end. This means we
Todd C. Miller [Wed, 7 Apr 1999 06:50:47 +0000 (06:50 +0000)]
Move the push from the beginning of cmndspec to the end.  This means we
no longer have to do a push at the end of privilege, just reset some values.

25 years agorunas-lists and NOPASSWD/PASSWD modifiers are now sticky and you can use "!" most...
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

25 years agomodernize paths and update su example based on sample.sudoers one
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

25 years agoNew runas semantics
Todd C. Miller [Tue, 6 Apr 1999 18:06:12 +0000 (18:06 +0000)]
New runas semantics

25 years agoIn estrdup(), do the malloc ourselves so we don't need to rely on the
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.

25 years ago$Sudo tag
Todd C. Miller [Tue, 6 Apr 1999 17:40:49 +0000 (17:40 +0000)]
$Sudo tag

25 years agobuf should be prompt; Michael Robokoff <mrobo@networkcs.com>
Todd C. Miller [Tue, 6 Apr 1999 17:20:39 +0000 (17:20 +0000)]
buf should be prompt; Michael Robokoff <mrobo@networkcs.com>

25 years agoIt is now possible to use the '!' operator in a runas list as
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.

25 years agoKill GLOBAL_NO_SPW_ENT (not used) and crank GLOBAL_PROBLEM
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

25 years agoDefinitions of *_matched were wrong--user top, not top-2 as subscript.
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.

25 years agoAdd VALIDATE_NOT_OK_NOPASS for when user is not allowed to run a command
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).

25 years agoAdd copyright, somewhat silly
Todd C. Miller [Tue, 6 Apr 1999 03:25:46 +0000 (03:25 +0000)]
Add copyright, somewhat silly

25 years agoCrank version to 1.6 and combine copyright statements
Todd C. Miller [Mon, 5 Apr 1999 20:57:25 +0000 (20:57 +0000)]
Crank version to 1.6 and combine copyright statements

25 years agoUse ! not ^ to do negation
Todd C. Miller [Mon, 5 Apr 1999 20:30:15 +0000 (20:30 +0000)]
Use ! not ^ to do negation

25 years agoregen
Todd C. Miller [Mon, 5 Apr 1999 20:29:54 +0000 (20:29 +0000)]
regen

25 years agoMake runas and NOPASSWD tags persistent across entris in a command list.
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.

25 years agoupdate for 1.5.9 SUDO_1_5_9
Todd C. Miller [Fri, 2 Apr 1999 21:03:17 +0000 (21:03 +0000)]
update for 1.5.9

25 years agoShift return value of system(3) by 8 to get real exit value and if it is not 1 or...
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.

25 years agotestsudoers needs LIBOBJS too
Todd C. Miller [Tue, 30 Mar 1999 21:45:27 +0000 (21:45 +0000)]
testsudoers needs LIBOBJS too

25 years agoFix another parser bug. For a sudoers entry like this:
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.

25 years agonew change
Todd C. Miller [Tue, 30 Mar 1999 06:08:42 +0000 (06:08 +0000)]
new change

25 years agoSave entries that match a ! command on the matching stack too
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

25 years agoMake sudo's usage info better when mutually exclusive args are given and don't rely...
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

25 years agoupdates from CU
Todd C. Miller [Mon, 29 Mar 1999 20:03:02 +0000 (20:03 +0000)]
updates from CU

25 years agouse gzip
Todd C. Miller [Mon, 29 Mar 1999 04:38:06 +0000 (04:38 +0000)]
use gzip

25 years agoFix off by one error introduced in *alloc changes
Todd C. Miller [Mon, 29 Mar 1999 04:31:16 +0000 (04:31 +0000)]
Fix off by one error introduced in *alloc changes

25 years ago++version
Todd C. Miller [Mon, 29 Mar 1999 04:05:15 +0000 (04:05 +0000)]
++version

25 years agoUse emalloc/erealloc/estrdup
Todd C. Miller [Mon, 29 Mar 1999 02:59:34 +0000 (02:59 +0000)]
Use emalloc/erealloc/estrdup

25 years agoerror checking memory allocation routines
Todd C. Miller [Mon, 29 Mar 1999 01:29:02 +0000 (01:29 +0000)]
error checking memory allocation routines

25 years agoStill not right, this fixes it for real
Todd C. Miller [Mon, 29 Mar 1999 00:23:49 +0000 (00:23 +0000)]
Still not right, this fixes it for real

25 years agoFix for previous commit
Todd C. Miller [Mon, 29 Mar 1999 00:08:02 +0000 (00:08 +0000)]
Fix for previous commit

25 years agoFix a parser bug that was exposed when mixing different runas specs
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.

25 years agoSimplify PAM code and fix a PAM-related warning on Linux
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

25 years agoupdates
Todd C. Miller [Fri, 26 Mar 1999 18:17:43 +0000 (18:17 +0000)]
updates

25 years agobetter su entry
Todd C. Miller [Fri, 26 Mar 1999 18:12:22 +0000 (18:12 +0000)]
better su entry

25 years agoregen
Todd C. Miller [Fri, 26 Mar 1999 18:10:25 +0000 (18:10 +0000)]
regen

25 years agonew pam code that works on solaris, should work on linux too; aelberg@home.com
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

25 years agomore entries
Todd C. Miller [Fri, 19 Mar 1999 19:44:46 +0000 (19:44 +0000)]
more entries

25 years agoonly include strings.h if there is no string.h
Todd C. Miller [Fri, 19 Mar 1999 19:43:28 +0000 (19:43 +0000)]
only include strings.h if there is no string.h

25 years agoSinix is now being called ReliantUNIX; bjjackso@us.oracle.com
Todd C. Miller [Wed, 17 Mar 1999 20:25:39 +0000 (20:25 +0000)]
Sinix is now being called ReliantUNIX; bjjackso@us.oracle.com

25 years agoshost must be set before log functions are called #ifdef HOST_IN_LOG
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

25 years agoFix a bug wrt quoting characters in command args. Stop processing an arg when you...
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.

26 years agoinclude sys/time.h; aparently AIX needs it. ppz@cdu.elektra.ru
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

26 years agoadd missing case statement so --without-sendmail works
Todd C. Miller [Wed, 24 Feb 1999 00:43:51 +0000 (00:43 +0000)]
add missing case statement so --without-sendmail works

26 years agomore
Todd C. Miller [Tue, 23 Feb 1999 02:51:43 +0000 (02:51 +0000)]
more

26 years agoonly search for -lsun in irix <= 4.x
Todd C. Miller [Mon, 22 Feb 1999 20:10:51 +0000 (20:10 +0000)]
only search for -lsun in irix <= 4.x

26 years agoback out last configure.in change now that I've hacked autoconf to fix the real probl...
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

26 years agoupdated
Todd C. Miller [Mon, 22 Feb 1999 19:32:43 +0000 (19:32 +0000)]
updated

26 years agoadd def of dirfd() for those without it
Todd C. Miller [Mon, 22 Feb 1999 19:05:06 +0000 (19:05 +0000)]
add def of dirfd() for those without it

26 years agoWhen falling back to checking for socket() when linking with "-lsocket -lnsl" check...
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.

26 years agotypo
Todd C. Miller [Mon, 22 Feb 1999 15:47:44 +0000 (15:47 +0000)]
typo

26 years agofix occurrence of $with_timeout that should be $with_password_timeout; Michael.Neef...
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

26 years agofix grammar; espie@openbsd.org SUDO_1_5_8
Todd C. Miller [Wed, 17 Feb 1999 16:40:55 +0000 (16:40 +0000)]
fix grammar; espie@openbsd.org

26 years agoadd cast for strdup in places it does not have it
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

26 years agodefine for_BSD_TYPES irix
Todd C. Miller [Tue, 9 Feb 1999 18:11:51 +0000 (18:11 +0000)]
define for_BSD_TYPES irix

26 years agoMake it clear that it is the user's password, not root's, that we want.
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.

26 years agoIf the user enters an empty password and really has no password, accept
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

26 years agoadd explicate copyright
Todd C. Miller [Wed, 3 Feb 1999 04:32:19 +0000 (04:32 +0000)]
add explicate copyright

26 years agomention -lsocket, -lnsl configure changes
Todd C. Miller [Wed, 3 Feb 1999 04:16:21 +0000 (04:16 +0000)]
mention -lsocket, -lnsl configure changes

26 years agoDon't clobber errno after calling check_sudoers().
Todd C. Miller [Tue, 2 Feb 1999 22:54:04 +0000 (22:54 +0000)]
Don't clobber errno after calling check_sudoers().

26 years agoWhen linking with both -lsocket and -lnsl be sure to do so in that order. Also,...
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.

26 years agoclarify bad timestamp and fmt
Todd C. Miller [Mon, 1 Feb 1999 00:45:02 +0000 (00:45 +0000)]
clarify bad timestamp and fmt

26 years agobe clear that pam is linux-only and add a RUNSON entry
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

26 years agofix and correctly document --with-umask; problem noted by adap@adap.org
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

26 years agoonly use /usr/{man,catman}/local to store man pages if suer didn't override prefix...
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

26 years agofix typo, make --with-SecurID take an arg
Todd C. Miller [Wed, 20 Jan 1999 01:24:41 +0000 (01:24 +0000)]
fix typo, make --with-SecurID take an arg

26 years agoupdates from users
Todd C. Miller [Tue, 19 Jan 1999 02:53:30 +0000 (02:53 +0000)]
updates from users

26 years agoFWTK 'authsrv' support from Kevin Kadow <kadow@MSG.NET>
Todd C. Miller [Tue, 19 Jan 1999 02:04:41 +0000 (02:04 +0000)]
FWTK 'authsrv' support from Kevin Kadow <kadow@MSG.NET>

26 years agobetter fix for the problem of unresolved symbols in -lnsl or -lsocket
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

26 years agowhen checking for functions in -lnsl and -lsocket link with both of them to avoid...
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

26 years agoold changes that didn't make it into RCS before the RCS->CVS switch
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

26 years agoadd sudo tags
Todd C. Miller [Sun, 17 Jan 1999 23:16:20 +0000 (23:16 +0000)]
add sudo tags

26 years agotesting Sudo tag
Todd C. Miller [Sun, 17 Jan 1999 22:56:56 +0000 (22:56 +0000)]
testing Sudo tag

26 years agotesting Sudo tag
Todd C. Miller [Sun, 17 Jan 1999 22:53:58 +0000 (22:53 +0000)]
testing Sudo tag

26 years agocrank version and regen files
Todd C. Miller [Sun, 17 Jan 1999 22:40:55 +0000 (22:40 +0000)]
crank version and regen files

26 years agokill rcs goop in update_version and fix now that version is a const
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

26 years agokerb5 support from fcusack@iconnet.net
Todd C. Miller [Sun, 17 Jan 1999 22:08:55 +0000 (22:08 +0000)]
kerb5 support from fcusack@iconnet.net

26 years agowe no longer use realpath
Todd C. Miller [Sun, 17 Jan 1999 21:45:50 +0000 (21:45 +0000)]
we no longer use realpath

26 years agoreplaced by find_path.c
Todd C. Miller [Sun, 17 Jan 1999 21:44:36 +0000 (21:44 +0000)]
replaced by find_path.c

26 years agoall options are now configure flags
Todd C. Miller [Sun, 17 Jan 1999 21:43:08 +0000 (21:43 +0000)]
all options are now configure flags

26 years agoregen
Todd C. Miller [Sun, 17 Jan 1999 21:42:12 +0000 (21:42 +0000)]
regen

26 years agosuperceded by getcwd.c
Todd C. Miller [Sun, 17 Jan 1999 21:41:21 +0000 (21:41 +0000)]
superceded by getcwd.c

26 years agosuperceded by tgetpass.c
Todd C. Miller [Sun, 17 Jan 1999 21:36:57 +0000 (21:36 +0000)]
superceded by tgetpass.c

26 years agosuperceded by RUNSON
Todd C. Miller [Sun, 17 Jan 1999 21:36:06 +0000 (21:36 +0000)]
superceded by RUNSON

26 years agoNo longer used now that we have configure options for everything.
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.

26 years agoregen based on configure.in
Todd C. Miller [Sun, 17 Jan 1999 21:32:35 +0000 (21:32 +0000)]
regen based on configure.in

26 years agoregen based on sudo.pod, sudoers.pod, and visudo.pod
Todd C. Miller [Sun, 17 Jan 1999 21:31:39 +0000 (21:31 +0000)]
regen based on sudo.pod, sudoers.pod, and visudo.pod

26 years agofix tty tickets in remove_timestamp (didn't use ':')
Todd C. Miller [Fri, 11 Dec 1998 17:16:26 +0000 (17:16 +0000)]
fix tty tickets in remove_timestamp (didn't use ':')

26 years agoclose sock when we are done with it
Todd C. Miller [Mon, 7 Dec 1998 21:16:00 +0000 (21:16 +0000)]
close sock when we are done with it

26 years agonever say "error on line -1"
Todd C. Miller [Sat, 28 Nov 1998 00:37:51 +0000 (00:37 +0000)]
never say "error on line -1"

26 years agocheck for -lnsl before -lsocket
Todd C. Miller [Tue, 24 Nov 1998 04:38:53 +0000 (04:38 +0000)]
check for -lnsl before -lsocket

26 years agoquote '[', ']' used in ranges correctly
Todd C. Miller [Tue, 24 Nov 1998 04:29:50 +0000 (04:29 +0000)]
quote '[', ']' used in ranges correctly

26 years agoadd missing NO_ROOT_SUDO
Todd C. Miller [Sat, 21 Nov 1998 22:54:31 +0000 (22:54 +0000)]
add missing NO_ROOT_SUDO
noted by drno@tsd.edu

26 years ago1.5.7
Todd C. Miller [Fri, 20 Nov 1998 23:33:52 +0000 (23:33 +0000)]
1.5.7

26 years agomore info for 1.5.7
Todd C. Miller [Fri, 20 Nov 1998 23:33:04 +0000 (23:33 +0000)]
more info for 1.5.7

26 years agoupdate for 1.5.7
Todd C. Miller [Fri, 20 Nov 1998 23:30:52 +0000 (23:30 +0000)]
update for 1.5.7

26 years agomake increases of cm_list_size and ga_list_size be similar to
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).

26 years agowhen we get a syntax error, report it for the previous line since
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.

26 years agoadd back check for sys/sockio.h but only use it if SIOCGIFCONF SUDO_1_5_7
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

26 years agodefine BSD_COMP for svr4
Todd C. Miller [Wed, 18 Nov 1998 20:25:12 +0000 (20:25 +0000)]
define BSD_COMP for svr4