]> granicus.if.org Git - sudo/log
sudo
29 years agoremoved const from casts for lsearch() & lfind() to placate irix 4.x
Todd C. Miller [Mon, 4 Sep 1995 04:38:39 +0000 (04:38 +0000)]
removed const from casts for lsearch() & lfind() to placate irix 4.x
C compiler

29 years agonow only strip '/dev/' off of a tty if it starts with '/dev/'
Todd C. Miller [Sun, 3 Sep 1995 18:12:24 +0000 (18:12 +0000)]
now only strip '/dev/' off of a tty if it starts with '/dev/'

29 years agoadded _PATH_DEV
Todd C. Miller [Sun, 3 Sep 1995 18:12:00 +0000 (18:12 +0000)]
added _PATH_DEV

29 years agoAC_HAVE_HEADERS -> AC_CHECK_HEADERS
Todd C. Miller [Sun, 3 Sep 1995 18:11:25 +0000 (18:11 +0000)]
AC_HAVE_HEADERS -> AC_CHECK_HEADERS
now check for tcgetattr only if have termios.h

29 years agofixed incorrect #ifdef
Todd C. Miller [Sun, 3 Sep 1995 18:09:40 +0000 (18:09 +0000)]
fixed incorrect #ifdef
termio uses "unsigned short" not int for c_?flag

29 years agofixed a spelling error
Todd C. Miller [Sun, 3 Sep 1995 17:19:51 +0000 (17:19 +0000)]
fixed a spelling error

29 years agofixed typo
Todd C. Miller [Sun, 3 Sep 1995 17:17:17 +0000 (17:17 +0000)]
fixed typo

29 years agofixed a comment
Todd C. Miller [Sat, 2 Sep 1995 16:55:40 +0000 (16:55 +0000)]
fixed a comment

29 years agoadded dotcat() to cat 2 strings w/ a dot effeciently
Todd C. Miller [Sat, 2 Sep 1995 16:54:22 +0000 (16:54 +0000)]
added dotcat() to cat 2 strings w/ a dot effeciently
now that we dynamically allocate strings they need to be free()'d

29 years agodynamically allocates space for strings
Todd C. Miller [Sat, 2 Sep 1995 16:46:45 +0000 (16:46 +0000)]
dynamically allocates space for strings

29 years agono more MAXCOMMANDLENGTH
Todd C. Miller [Sat, 2 Sep 1995 16:34:48 +0000 (16:34 +0000)]
no more MAXCOMMANDLENGTH

29 years agoadded decl of tty
Todd C. Miller [Sat, 2 Sep 1995 02:25:24 +0000 (02:25 +0000)]
added decl of tty

29 years agomoved tty stuff into sudo.c
Todd C. Miller [Sat, 2 Sep 1995 02:25:17 +0000 (02:25 +0000)]
moved tty stuff into sudo.c

29 years agofixed a logic bug. Was denying a command if user gave command
Todd C. Miller [Fri, 1 Sep 1995 18:18:32 +0000 (18:18 +0000)]
fixed a logic bug.  Was denying a command if user gave command
line args but there were none in the sudoers file which is wrong.

29 years agoMAXCOMMMANDLEN dropped down to 1K
Todd C. Miller [Fri, 1 Sep 1995 05:18:19 +0000 (05:18 +0000)]
MAXCOMMMANDLEN dropped down to 1K

29 years agoreturn foo; -> return(foo);
Todd C. Miller [Fri, 1 Sep 1995 05:13:23 +0000 (05:13 +0000)]
return foo; -> return(foo);

29 years agofixed netgr_matches() prototype
Todd C. Miller [Fri, 1 Sep 1995 05:03:27 +0000 (05:03 +0000)]
fixed netgr_matches() prototype

29 years agoadded support for escaping "termination" characters
Todd C. Miller [Fri, 1 Sep 1995 05:02:04 +0000 (05:02 +0000)]
added support for escaping "termination" characters

29 years agobuf is now of size MAXPATHLEN+1 since it never holds command args
Todd C. Miller [Fri, 1 Sep 1995 04:55:34 +0000 (04:55 +0000)]
buf is now of size MAXPATHLEN+1 since it never holds command args

29 years agofixed comments
Todd C. Miller [Fri, 1 Sep 1995 04:50:07 +0000 (04:50 +0000)]
fixed comments

29 years agofixed negation problem (doh!)
Todd C. Miller [Fri, 1 Sep 1995 04:49:48 +0000 (04:49 +0000)]
fixed negation problem (doh!)

29 years agofixed 2nd parameter to lfind()
Todd C. Miller [Fri, 1 Sep 1995 04:25:17 +0000 (04:25 +0000)]
fixed 2nd parameter to lfind()

29 years agonow do bounds checking in fill() and append()
Todd C. Miller [Fri, 1 Sep 1995 04:24:52 +0000 (04:24 +0000)]
now do bounds checking in fill() and append()

29 years agoinclude netdb.h as we should
Todd C. Miller [Fri, 1 Sep 1995 04:23:19 +0000 (04:23 +0000)]
include netdb.h as we should
added a missing void cast
added SHELL_IF_NO_ARGS support
now use realloc() properly.  would fail if realloc actually moved
the string instead of shrinking it

29 years agoupdated with examples of new features
Todd C. Miller [Fri, 1 Sep 1995 04:17:42 +0000 (04:17 +0000)]
updated with examples of new features

29 years agonow set errno to EACCES if not a regular file or not executable
Todd C. Miller [Fri, 1 Sep 1995 04:05:55 +0000 (04:05 +0000)]
now set errno to EACCES if not a regular file or not executable

29 years agoif given a fully-qualified or relative path we now check it
Todd C. Miller [Fri, 1 Sep 1995 04:04:43 +0000 (04:04 +0000)]
if given a fully-qualified or relative path we now check it
with sudo_goodpath() and error out with the appropriate error
message if the file does not exist or is not executable

29 years agonow use correct args for lfind
Todd C. Miller [Fri, 1 Sep 1995 04:03:56 +0000 (04:03 +0000)]
now use correct args for lfind

29 years agoadded a comment
Todd C. Miller [Fri, 1 Sep 1995 04:03:32 +0000 (04:03 +0000)]
added a comment

29 years agoadded in CSOps insults
Todd C. Miller [Fri, 1 Sep 1995 03:52:32 +0000 (03:52 +0000)]
added in CSOps insults

29 years agoInitial revision
Todd C. Miller [Fri, 1 Sep 1995 03:51:53 +0000 (03:51 +0000)]
Initial revision

29 years agoadded RCS id
Todd C. Miller [Fri, 1 Sep 1995 03:35:50 +0000 (03:35 +0000)]
added RCS id

29 years agoincreased MAXCOMMANDLENGTH to 8k
Todd C. Miller [Fri, 1 Sep 1995 02:56:08 +0000 (02:56 +0000)]
increased MAXCOMMANDLENGTH to 8k
HAVE_GETCWD -> HAVE_GETWD

29 years agoadded CLASSIC_INSULTS, CSOPS_INSULTS, SHELL_IF_NO_ARGS
Todd C. Miller [Fri, 1 Sep 1995 02:55:40 +0000 (02:55 +0000)]
added CLASSIC_INSULTS, CSOPS_INSULTS, SHELL_IF_NO_ARGS

29 years agofixed -k
Todd C. Miller [Fri, 1 Sep 1995 02:54:48 +0000 (02:54 +0000)]
fixed -k
load_interfaces() now gets called if FQDN is set
-p now works with -s

29 years agodon't try to stat() "pseudo commands" like "validate"
Todd C. Miller [Fri, 1 Sep 1995 02:54:08 +0000 (02:54 +0000)]
don't try to stat() "pseudo commands" like "validate"

29 years agoadded CLASSIC_INSULTS
Todd C. Miller [Fri, 1 Sep 1995 02:53:36 +0000 (02:53 +0000)]
added CLASSIC_INSULTS
added CSOPS_INSULTS
added SHELL_IF_NO_ARGS

29 years agoadded SecurID support
Todd C. Miller [Fri, 1 Sep 1995 02:53:07 +0000 (02:53 +0000)]
added SecurID support
added other insults to --with-csops

29 years agoadded HAVE_SECURID
Todd C. Miller [Fri, 1 Sep 1995 02:52:57 +0000 (02:52 +0000)]
added HAVE_SECURID

29 years agoadded clobber target
Todd C. Miller [Fri, 1 Sep 1995 02:52:22 +0000 (02:52 +0000)]
added clobber target
added ins_csops.h
now gets CFLAGS from configure

29 years agorelaxed SUDO_FULL_VOID
Todd C. Miller [Fri, 1 Sep 1995 02:46:10 +0000 (02:46 +0000)]
relaxed SUDO_FULL_VOID

29 years agofunction comment blocks are now in same style as rest of code
Todd C. Miller [Fri, 1 Sep 1995 02:44:54 +0000 (02:44 +0000)]
function comment blocks are now in same style as rest of code

29 years agoadded support for command line args in /etc/sudoers
Todd C. Miller [Fri, 1 Sep 1995 02:44:18 +0000 (02:44 +0000)]
added support for command line args in /etc/sudoers

29 years agoupdated to have command args in the sudoers file
Todd C. Miller [Fri, 1 Sep 1995 02:43:35 +0000 (02:43 +0000)]
updated to have command args in the sudoers file

29 years agoadded -s and -- flags
Todd C. Miller [Fri, 1 Sep 1995 02:42:45 +0000 (02:42 +0000)]
added -s and -- flags
added SHELL to ENVIRONMENT VARIABLES section

29 years agoPATH renamed to COMMAND
Todd C. Miller [Sat, 19 Aug 1995 23:32:04 +0000 (23:32 +0000)]
PATH renamed to COMMAND

29 years agoit is now a parse error for directories to have args attached to them
Todd C. Miller [Sat, 19 Aug 1995 23:31:35 +0000 (23:31 +0000)]
it is now a parse error for directories to have args attached to them

29 years agonow say command args if telling user to buzz off
Todd C. Miller [Sat, 19 Aug 1995 23:30:56 +0000 (23:30 +0000)]
now say command args if telling user to buzz off

29 years ago-s no longer indicates end of args
Todd C. Miller [Sat, 19 Aug 1995 23:30:03 +0000 (23:30 +0000)]
-s no longer indicates end of args
sped up loading on cmnd_args in load_cmnd()

29 years agoremoved an unreachable statement
Todd C. Miller [Sat, 19 Aug 1995 23:29:42 +0000 (23:29 +0000)]
removed an unreachable statement

29 years agomade more efficient by pulling out the terminators when in
Todd C. Miller [Sat, 19 Aug 1995 21:53:38 +0000 (21:53 +0000)]
made more efficient by pulling out the terminators when in
GOTCMND state and making them their own rule

29 years agoremoved MAXLOGLEN since it is no longer used
Todd C. Miller [Mon, 14 Aug 1995 04:07:45 +0000 (04:07 +0000)]
removed MAXLOGLEN since it is no longer used

29 years agonow allows command args
Todd C. Miller [Mon, 14 Aug 1995 04:07:15 +0000 (04:07 +0000)]
now allows command args

29 years agonow groks command arguments
Todd C. Miller [Mon, 14 Aug 1995 04:06:27 +0000 (04:06 +0000)]
now groks command arguments

29 years agonow sets tty correctly when piped input
Todd C. Miller [Mon, 14 Aug 1995 03:39:05 +0000 (03:39 +0000)]
now sets tty correctly when piped input

29 years agofixed loading of cmnd_args (was including command name too)
Todd C. Miller [Mon, 14 Aug 1995 03:35:43 +0000 (03:35 +0000)]
fixed loading of cmnd_args (was including command name too)

29 years agofixed a core dump due to incorrect if construct
Todd C. Miller [Mon, 14 Aug 1995 03:34:36 +0000 (03:34 +0000)]
fixed a core dump due to incorrect if construct

29 years agoonly add -lsun is irix < 5
Todd C. Miller [Sun, 13 Aug 1995 04:33:39 +0000 (04:33 +0000)]
only add -lsun is irix < 5
don't look for -lnsl or -lsocket if irix

29 years agofixed check for ISC
Todd C. Miller [Sun, 13 Aug 1995 04:33:08 +0000 (04:33 +0000)]
fixed check for ISC

29 years agonow sets cmnd_args used by log_error() and that will be used
Todd C. Miller [Sun, 13 Aug 1995 04:32:19 +0000 (04:32 +0000)]
now sets cmnd_args used by log_error() and that will be used
by the parse to check against command args

29 years agoadded cmnd_args
Todd C. Miller [Sun, 13 Aug 1995 04:32:05 +0000 (04:32 +0000)]
added cmnd_args

29 years agonow dynamically allocate logline since we can guess at its
Todd C. Miller [Sun, 13 Aug 1995 04:31:41 +0000 (04:31 +0000)]
now dynamically allocate logline since we can guess at its
size

29 years agocleaned up a bunch of unnecesary #ifdef's
Todd C. Miller [Sat, 5 Aug 1995 17:52:10 +0000 (17:52 +0000)]
cleaned up a bunch of unnecesary #ifdef's
eliminated a buffer
remove "register" since the compiler knows more than I do
now do a "basename" of the tty

29 years ago++version
Todd C. Miller [Mon, 31 Jul 1995 22:20:03 +0000 (22:20 +0000)]
++version

29 years agoadded shell extern
Todd C. Miller [Mon, 31 Jul 1995 02:37:47 +0000 (02:37 +0000)]
added shell extern
changed MODE_* to be bit masks to allow for several options together

29 years agoadded -s (shell) option
Todd C. Miller [Mon, 31 Jul 1995 02:36:43 +0000 (02:36 +0000)]
added -s (shell) option
made MODE_* masks so we can do bitwise & and | to see if multiple
flags are set.

29 years agoadded securid support
Todd C. Miller [Mon, 31 Jul 1995 02:01:38 +0000 (02:01 +0000)]
added securid support

29 years agoremoved a bunch of unnecesary strncpy()'s and replaced with strcat()
Todd C. Miller [Sun, 30 Jul 1995 18:38:19 +0000 (18:38 +0000)]
removed a bunch of unnecesary strncpy()'s and replaced with strcat()

29 years ago++version
Todd C. Miller [Sat, 29 Jul 1995 21:17:16 +0000 (21:17 +0000)]
++version

29 years agofixed free() of an uninitialized pointer (yuck)
Todd C. Miller [Thu, 27 Jul 1995 10:52:58 +0000 (10:52 +0000)]
fixed free() of an uninitialized pointer (yuck)

29 years agoadded netgr_matches
Todd C. Miller [Thu, 27 Jul 1995 02:00:21 +0000 (02:00 +0000)]
added netgr_matches

29 years agocleaned up netgr_matches
Todd C. Miller [Thu, 27 Jul 1995 01:29:59 +0000 (01:29 +0000)]
cleaned up netgr_matches

29 years agoupdated for 1.3.4
Todd C. Miller [Wed, 26 Jul 1995 04:26:41 +0000 (04:26 +0000)]
updated for 1.3.4

29 years agonow installs sudoers.man -- really should clean this up though.
Todd C. Miller [Tue, 25 Jul 1995 01:51:04 +0000 (01:51 +0000)]
now installs sudoers.man -- really should clean this up though.

29 years agoadded sudoers.cat and sudoers.man
Todd C. Miller [Tue, 25 Jul 1995 01:18:00 +0000 (01:18 +0000)]
added sudoers.cat and sudoers.man

29 years agopulled out stuff on the sudoers file format into a separate man
Todd C. Miller [Tue, 25 Jul 1995 01:15:15 +0000 (01:15 +0000)]
pulled out stuff on the sudoers file format into a separate man
page

29 years agoInitial revision
Todd C. Miller [Tue, 25 Jul 1995 01:14:49 +0000 (01:14 +0000)]
Initial revision

29 years agofixed up my email address
Todd C. Miller [Tue, 25 Jul 1995 01:04:05 +0000 (01:04 +0000)]
fixed up my email address

29 years agoadded checks for innetgr and getdomainname
Todd C. Miller [Tue, 25 Jul 1995 00:03:20 +0000 (00:03 +0000)]
added checks for innetgr and getdomainname

29 years agoadded dummy netgr_matches function
Todd C. Miller [Tue, 25 Jul 1995 00:02:05 +0000 (00:02 +0000)]
added dummy netgr_matches function

29 years agoadded netgr_matches
Todd C. Miller [Tue, 25 Jul 1995 00:01:47 +0000 (00:01 +0000)]
added  netgr_matches

29 years agoadded NETGROUP support
Todd C. Miller [Tue, 25 Jul 1995 00:01:34 +0000 (00:01 +0000)]
added NETGROUP support

29 years agoadded HAVE_INNETGR & HAVE_GETDOMAINNAME
Todd C. Miller [Tue, 25 Jul 1995 00:01:11 +0000 (00:01 +0000)]
added HAVE_INNETGR & HAVE_GETDOMAINNAME

29 years agorewrote clean_env() that has rm_env() builtin
Todd C. Miller [Mon, 24 Jul 1995 22:07:56 +0000 (22:07 +0000)]
rewrote clean_env() that has rm_env() builtin

29 years agonow cast uid to long in sprintf
Todd C. Miller [Sun, 23 Jul 1995 23:58:15 +0000 (23:58 +0000)]
now cast uid to long in sprintf

29 years agoadded _INSULTS suffix to HAL & GOONS
Todd C. Miller [Sun, 23 Jul 1995 23:58:02 +0000 (23:58 +0000)]
added _INSULTS suffix to HAL & GOONS
end

29 years agoadded _INSULTS suffix to HAL & GOONS
Todd C. Miller [Sun, 23 Jul 1995 23:57:00 +0000 (23:57 +0000)]
added _INSULTS suffix to HAL & GOONS

29 years agoconverted to new scheme of insult "unions"
Todd C. Miller [Sun, 23 Jul 1995 23:35:14 +0000 (23:35 +0000)]
converted to new scheme of insult "unions"
end

29 years agonow uses MAX_UID_T_LEN
Todd C. Miller [Sun, 23 Jul 1995 21:48:30 +0000 (21:48 +0000)]
now uses MAX_UID_T_LEN

29 years agoadded SUDO_UID_T_LEN
Todd C. Miller [Sun, 23 Jul 1995 21:48:17 +0000 (21:48 +0000)]
added SUDO_UID_T_LEN
!l

29 years agoadded MAX_UID_T_LEN
Todd C. Miller [Sun, 23 Jul 1995 21:48:04 +0000 (21:48 +0000)]
added MAX_UID_T_LEN

29 years agonow use MAX_UID_T_LEN
Todd C. Miller [Sun, 23 Jul 1995 21:47:51 +0000 (21:47 +0000)]
now use MAX_UID_T_LEN

29 years agoadded check for max len of uid_t
Todd C. Miller [Sun, 23 Jul 1995 21:47:20 +0000 (21:47 +0000)]
added check for max len of uid_t
fixed sco vs. isc check

29 years agocorrected version
Todd C. Miller [Wed, 19 Jul 1995 23:05:44 +0000 (23:05 +0000)]
corrected version

29 years agoadded sco support
Todd C. Miller [Wed, 19 Jul 1995 21:29:58 +0000 (21:29 +0000)]
added sco support

29 years agohack to check for sco
Todd C. Miller [Wed, 19 Jul 1995 21:29:49 +0000 (21:29 +0000)]
hack to check for sco

29 years agoremoved #include <net/route.h> since it was hosing some OS's
Todd C. Miller [Wed, 19 Jul 1995 01:27:53 +0000 (01:27 +0000)]
removed  #include <net/route.h> since it was hosing some OS's

29 years agofixed prreadlink() prototype
Todd C. Miller [Tue, 18 Jul 1995 17:35:56 +0000 (17:35 +0000)]
fixed prreadlink() prototype

29 years agoadded parens in #if's
Todd C. Miller [Tue, 18 Jul 1995 03:54:24 +0000 (03:54 +0000)]
added parens in #if's

29 years agoadded SPW_ prefix
Todd C. Miller [Tue, 18 Jul 1995 03:53:56 +0000 (03:53 +0000)]
added SPW_ prefix