]>
granicus.if.org Git - sudo/log
Todd C. Miller [Sat, 23 Sep 1995 20:48:48 +0000 (20:48 +0000)]
removed unused variable
now passes -Wall
Todd C. Miller [Sat, 23 Sep 1995 20:48:16 +0000 (20:48 +0000)]
yyerror and dumpaliases are now void's
now passes -Wall
Todd C. Miller [Sat, 23 Sep 1995 20:48:04 +0000 (20:48 +0000)]
added prototype for yyerror
Todd C. Miller [Sat, 23 Sep 1995 20:47:54 +0000 (20:47 +0000)]
now passes -Wall
Todd C. Miller [Sat, 23 Sep 1995 20:47:31 +0000 (20:47 +0000)]
rmeoved unused cruft
now passes -Wall
Todd C. Miller [Sat, 23 Sep 1995 20:46:43 +0000 (20:46 +0000)]
fixed headers that moved to emul dir
Todd C. Miller [Sat, 23 Sep 1995 16:05:40 +0000 (16:05 +0000)]
fixed deref of nil pointer if no args
Todd C. Miller [Fri, 15 Sep 1995 23:18:14 +0000 (23:18 +0000)]
added a caveat to FQDN section
Todd C. Miller [Wed, 13 Sep 1995 23:48:57 +0000 (23:48 +0000)]
more $srcdir support for install targets
Todd C. Miller [Wed, 13 Sep 1995 21:17:06 +0000 (21:17 +0000)]
don't include malloc.h if we include stdlib.h
Todd C. Miller [Wed, 13 Sep 1995 01:44:35 +0000 (01:44 +0000)]
local search.h now lives in emul
Todd C. Miller [Wed, 13 Sep 1995 01:41:55 +0000 (01:41 +0000)]
local utime.h now lives in emul dir
Todd C. Miller [Wed, 13 Sep 1995 01:41:32 +0000 (01:41 +0000)]
local search.h now lives in emul
Todd C. Miller [Wed, 13 Sep 1995 01:38:34 +0000 (01:38 +0000)]
added support for building in other than the sourcedir
Todd C. Miller [Sun, 10 Sep 1995 18:01:34 +0000 (18:01 +0000)]
annotated CSOPS_INSULTS option
Todd C. Miller [Sun, 10 Sep 1995 17:56:19 +0000 (17:56 +0000)]
updated shadow passwords blurb
Todd C. Miller [Sun, 10 Sep 1995 01:00:24 +0000 (01:00 +0000)]
if SHELL_IF_NO_ARGS is set, "sudo -- foo" now runs a shell
and passes along foo as the arguments
Todd C. Miller [Sat, 9 Sep 1995 22:52:57 +0000 (22:52 +0000)]
collapsed pathname and dir sections into one -- its now less expensive
Todd C. Miller [Sat, 9 Sep 1995 22:34:40 +0000 (22:34 +0000)]
fixed spacing
quoting [,:\\=] now works correctly
append() and fill() now take args to make the above work
Todd C. Miller [Sat, 9 Sep 1995 00:51:49 +0000 (00:51 +0000)]
fixed a typo that caused commands with no tty on fd 0 but a tty
on fd 1 to erroneously have "none" as their tty
Todd C. Miller [Mon, 4 Sep 1995 19:35:04 +0000 (19:35 +0000)]
timestampfile is now a global static
removed decl of timestampfile in remove_timestamp since we can just
use the global one
Todd C. Miller [Mon, 4 Sep 1995 19:28:25 +0000 (19:28 +0000)]
created touch() to update timestamps
added USE_TTY_TICKETS support (bit of a kludge)
Todd C. Miller [Mon, 4 Sep 1995 19:28:15 +0000 (19:28 +0000)]
added _S_IFDIR and S_ISDIR
Todd C. Miller [Mon, 4 Sep 1995 19:22:57 +0000 (19:22 +0000)]
added USE_TTY_TICKETS
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
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/'
Todd C. Miller [Sun, 3 Sep 1995 18:12:00 +0000 (18:12 +0000)]
added _PATH_DEV
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
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
Todd C. Miller [Sun, 3 Sep 1995 17:19:51 +0000 (17:19 +0000)]
fixed a spelling error
Todd C. Miller [Sun, 3 Sep 1995 17:17:17 +0000 (17:17 +0000)]
fixed typo
Todd C. Miller [Sat, 2 Sep 1995 16:55:40 +0000 (16:55 +0000)]
fixed a comment
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
Todd C. Miller [Sat, 2 Sep 1995 16:46:45 +0000 (16:46 +0000)]
dynamically allocates space for strings
Todd C. Miller [Sat, 2 Sep 1995 16:34:48 +0000 (16:34 +0000)]
no more MAXCOMMANDLENGTH
Todd C. Miller [Sat, 2 Sep 1995 02:25:24 +0000 (02:25 +0000)]
added decl of tty
Todd C. Miller [Sat, 2 Sep 1995 02:25:17 +0000 (02:25 +0000)]
moved tty stuff into sudo.c
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.
Todd C. Miller [Fri, 1 Sep 1995 05:18:19 +0000 (05:18 +0000)]
MAXCOMMMANDLEN dropped down to 1K
Todd C. Miller [Fri, 1 Sep 1995 05:13:23 +0000 (05:13 +0000)]
return foo; -> return(foo);
Todd C. Miller [Fri, 1 Sep 1995 05:03:27 +0000 (05:03 +0000)]
fixed netgr_matches() prototype
Todd C. Miller [Fri, 1 Sep 1995 05:02:04 +0000 (05:02 +0000)]
added support for escaping "termination" characters
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
Todd C. Miller [Fri, 1 Sep 1995 04:50:07 +0000 (04:50 +0000)]
fixed comments
Todd C. Miller [Fri, 1 Sep 1995 04:49:48 +0000 (04:49 +0000)]
fixed negation problem (doh!)
Todd C. Miller [Fri, 1 Sep 1995 04:25:17 +0000 (04:25 +0000)]
fixed 2nd parameter to lfind()
Todd C. Miller [Fri, 1 Sep 1995 04:24:52 +0000 (04:24 +0000)]
now do bounds checking in fill() and append()
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
Todd C. Miller [Fri, 1 Sep 1995 04:17:42 +0000 (04:17 +0000)]
updated with examples of new features
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
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
Todd C. Miller [Fri, 1 Sep 1995 04:03:56 +0000 (04:03 +0000)]
now use correct args for lfind
Todd C. Miller [Fri, 1 Sep 1995 04:03:32 +0000 (04:03 +0000)]
added a comment
Todd C. Miller [Fri, 1 Sep 1995 03:52:32 +0000 (03:52 +0000)]
added in CSOps insults
Todd C. Miller [Fri, 1 Sep 1995 03:51:53 +0000 (03:51 +0000)]
Initial revision
Todd C. Miller [Fri, 1 Sep 1995 03:35:50 +0000 (03:35 +0000)]
added RCS id
Todd C. Miller [Fri, 1 Sep 1995 02:56:08 +0000 (02:56 +0000)]
increased MAXCOMMANDLENGTH to 8k
HAVE_GETCWD -> HAVE_GETWD
Todd C. Miller [Fri, 1 Sep 1995 02:55:40 +0000 (02:55 +0000)]
added CLASSIC_INSULTS, CSOPS_INSULTS, SHELL_IF_NO_ARGS
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
Todd C. Miller [Fri, 1 Sep 1995 02:54:08 +0000 (02:54 +0000)]
don't try to stat() "pseudo commands" like "validate"
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
Todd C. Miller [Fri, 1 Sep 1995 02:53:07 +0000 (02:53 +0000)]
added SecurID support
added other insults to --with-csops
Todd C. Miller [Fri, 1 Sep 1995 02:52:57 +0000 (02:52 +0000)]
added HAVE_SECURID
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
Todd C. Miller [Fri, 1 Sep 1995 02:46:10 +0000 (02:46 +0000)]
relaxed SUDO_FULL_VOID
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
Todd C. Miller [Fri, 1 Sep 1995 02:44:18 +0000 (02:44 +0000)]
added support for command line args in /etc/sudoers
Todd C. Miller [Fri, 1 Sep 1995 02:43:35 +0000 (02:43 +0000)]
updated to have command args in the sudoers file
Todd C. Miller [Fri, 1 Sep 1995 02:42:45 +0000 (02:42 +0000)]
added -s and -- flags
added SHELL to ENVIRONMENT VARIABLES section
Todd C. Miller [Sat, 19 Aug 1995 23:32:04 +0000 (23:32 +0000)]
PATH renamed to COMMAND
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
Todd C. Miller [Sat, 19 Aug 1995 23:30:56 +0000 (23:30 +0000)]
now say command args if telling user to buzz off
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()
Todd C. Miller [Sat, 19 Aug 1995 23:29:42 +0000 (23:29 +0000)]
removed an unreachable statement
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
Todd C. Miller [Mon, 14 Aug 1995 04:07:45 +0000 (04:07 +0000)]
removed MAXLOGLEN since it is no longer used
Todd C. Miller [Mon, 14 Aug 1995 04:07:15 +0000 (04:07 +0000)]
now allows command args
Todd C. Miller [Mon, 14 Aug 1995 04:06:27 +0000 (04:06 +0000)]
now groks command arguments
Todd C. Miller [Mon, 14 Aug 1995 03:39:05 +0000 (03:39 +0000)]
now sets tty correctly when piped input
Todd C. Miller [Mon, 14 Aug 1995 03:35:43 +0000 (03:35 +0000)]
fixed loading of cmnd_args (was including command name too)
Todd C. Miller [Mon, 14 Aug 1995 03:34:36 +0000 (03:34 +0000)]
fixed a core dump due to incorrect if construct
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
Todd C. Miller [Sun, 13 Aug 1995 04:33:08 +0000 (04:33 +0000)]
fixed check for ISC
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
Todd C. Miller [Sun, 13 Aug 1995 04:32:05 +0000 (04:32 +0000)]
added cmnd_args
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
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
Todd C. Miller [Mon, 31 Jul 1995 22:20:03 +0000 (22:20 +0000)]
++version
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
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.
Todd C. Miller [Mon, 31 Jul 1995 02:01:38 +0000 (02:01 +0000)]
added securid support
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()
Todd C. Miller [Sat, 29 Jul 1995 21:17:16 +0000 (21:17 +0000)]
++version
Todd C. Miller [Thu, 27 Jul 1995 10:52:58 +0000 (10:52 +0000)]
fixed free() of an uninitialized pointer (yuck)
Todd C. Miller [Thu, 27 Jul 1995 02:00:21 +0000 (02:00 +0000)]
added netgr_matches
Todd C. Miller [Thu, 27 Jul 1995 01:29:59 +0000 (01:29 +0000)]
cleaned up netgr_matches
Todd C. Miller [Wed, 26 Jul 1995 04:26:41 +0000 (04:26 +0000)]
updated for 1.3.4
Todd C. Miller [Tue, 25 Jul 1995 01:51:04 +0000 (01:51 +0000)]
now installs sudoers.man -- really should clean this up though.
Todd C. Miller [Tue, 25 Jul 1995 01:18:00 +0000 (01:18 +0000)]
added sudoers.cat and sudoers.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