]> granicus.if.org Git - sudo/log
sudo
29 years agoonly clear data structures on a parse error
Todd C. Miller [Mon, 27 Mar 1995 20:16:32 +0000 (20:16 +0000)]
only clear data structures on a parse error

29 years agowhatnow() now gives help on invalid input
Todd C. Miller [Mon, 27 Mar 1995 20:01:19 +0000 (20:01 +0000)]
whatnow() now gives help on invalid input

29 years agoadded a whatnow() function (sort of like mh)
Todd C. Miller [Mon, 27 Mar 1995 19:54:53 +0000 (19:54 +0000)]
added a whatnow() function (sort of like mh)

29 years agokill_aliases -> reset_aliases
Todd C. Miller [Mon, 27 Mar 1995 19:53:37 +0000 (19:53 +0000)]
kill_aliases -> reset_aliases
yywrap() now cleans up by calling reset_aliases() and clearing top
took reset stuff out of yyerror() since it doesn't beling there
(and doesn't work anyway).
errorlineno is now initially set to -1 so we can set it to the
first error that occurrs (it was getting set to the last)

29 years agoadded a void cast
Todd C. Miller [Mon, 27 Mar 1995 19:53:25 +0000 (19:53 +0000)]
added a void cast

29 years agorewrote from scratch based on 4.3BSD vipw.c
Todd C. Miller [Mon, 27 Mar 1995 18:26:36 +0000 (18:26 +0000)]
rewrote from scratch based on 4.3BSD vipw.c

29 years agoremoved ocmnd
Todd C. Miller [Sun, 26 Mar 1995 06:33:05 +0000 (06:33 +0000)]
removed ocmnd

29 years agono more sudo_realpath() and find_path() changed params
Todd C. Miller [Sun, 26 Mar 1995 06:19:48 +0000 (06:19 +0000)]
no more sudo_realpath() and find_path() changed params

29 years agofind_path() changed since no more realpath()
Todd C. Miller [Sun, 26 Mar 1995 06:19:20 +0000 (06:19 +0000)]
find_path() changed since no more realpath()

29 years agoon error, errorlineno is set to the line where the error occurred
Todd C. Miller [Sun, 26 Mar 1995 06:18:24 +0000 (06:18 +0000)]
on error, errorlineno is set to the line where the error occurred
added kill_aliases() to free the aliases struct
now clean up in yyerror() so we can reparse cleanly

29 years agono more USE_REALPATH
Todd C. Miller [Sun, 26 Mar 1995 06:17:37 +0000 (06:17 +0000)]
no more USE_REALPATH

29 years agochanged to use new find_path()
Todd C. Miller [Sun, 26 Mar 1995 06:17:19 +0000 (06:17 +0000)]
changed to use new find_path()

29 years agoremoved all the realpath() stuff
Todd C. Miller [Sun, 26 Mar 1995 06:16:43 +0000 (06:16 +0000)]
removed all the realpath() stuff

29 years agosudo_realpath.c -> sudo_goodpath.c
Todd C. Miller [Sun, 26 Mar 1995 06:16:18 +0000 (06:16 +0000)]
sudo_realpath.c -> sudo_goodpath.c

29 years agonow works correctly with utk parser
Todd C. Miller [Sun, 26 Mar 1995 06:12:30 +0000 (06:12 +0000)]
now works correctly with utk parser

29 years agoInitial revision
Todd C. Miller [Sun, 26 Mar 1995 05:04:11 +0000 (05:04 +0000)]
Initial revision

29 years agoeliminated a compiler warning
Todd C. Miller [Sun, 26 Mar 1995 04:23:43 +0000 (04:23 +0000)]
eliminated a compiler warning

29 years agoelinated compiler warning
Todd C. Miller [Sun, 26 Mar 1995 02:56:35 +0000 (02:56 +0000)]
elinated compiler warning

29 years agoadded sudo_goodpath()
Todd C. Miller [Sun, 26 Mar 1995 01:40:37 +0000 (01:40 +0000)]
added sudo_goodpath()

29 years agoadded prototype for sudo_goodpath
Todd C. Miller [Sun, 26 Mar 1995 01:40:15 +0000 (01:40 +0000)]
added prototype for sudo_goodpath

29 years agoadded support for /sys/dir.h
Todd C. Miller [Sun, 26 Mar 1995 01:39:52 +0000 (01:39 +0000)]
added support for /sys/dir.h

29 years agoUSE_REALPATH turned off
Todd C. Miller [Sun, 26 Mar 1995 01:39:38 +0000 (01:39 +0000)]
USE_REALPATH turned off

29 years agoadded calls to sudo_goodpath()
Todd C. Miller [Sun, 26 Mar 1995 01:39:14 +0000 (01:39 +0000)]
added calls to sudo_goodpath()

29 years agoadded check for dirent.h
Todd C. Miller [Sun, 26 Mar 1995 01:39:00 +0000 (01:39 +0000)]
added check for dirent.h

29 years agoadded HAVE_DIRENT_H
Todd C. Miller [Sun, 26 Mar 1995 01:38:44 +0000 (01:38 +0000)]
added HAVE_DIRENT_H

29 years agoadded in linux shadow pass stuff
Todd C. Miller [Sun, 26 Mar 1995 00:27:13 +0000 (00:27 +0000)]
added in linux shadow pass stuff
\ 6

29 years agoadded back host, user, cmnd, parse_error
Todd C. Miller [Fri, 24 Mar 1995 19:43:59 +0000 (19:43 +0000)]
added back host, user, cmnd, parse_error

29 years agoadded in utk changes plus some minor cosmetic changes
Todd C. Miller [Fri, 24 Mar 1995 19:19:14 +0000 (19:19 +0000)]
added in utk changes plus some minor cosmetic changes

29 years agoadded void casts for printf's
Todd C. Miller [Fri, 24 Mar 1995 19:18:09 +0000 (19:18 +0000)]
added void casts for printf's

29 years agoadded a define of USE_REALPATH
Todd C. Miller [Fri, 24 Mar 1995 19:17:15 +0000 (19:17 +0000)]
added a define of USE_REALPATH

29 years agothere is no more visudoers/Makefile
Todd C. Miller [Fri, 24 Mar 1995 19:17:03 +0000 (19:17 +0000)]
there is no more visudoers/Makefile

29 years agoadded in utk changes (visudo is now built from the toplevel)
Todd C. Miller [Fri, 24 Mar 1995 19:16:32 +0000 (19:16 +0000)]
added in utk changes (visudo is now built from the toplevel)

29 years agoadded (void) casts to printf's
Todd C. Miller [Fri, 24 Mar 1995 19:15:43 +0000 (19:15 +0000)]
added (void) casts to printf's

29 years agomerged in utk changes
Todd C. Miller [Fri, 24 Mar 1995 03:32:53 +0000 (03:32 +0000)]
merged in utk changes

29 years agonow check to see that what we are trying to run is a file (or a link
Todd C. Miller [Thu, 23 Mar 1995 04:13:11 +0000 (04:13 +0000)]
now check to see that what we are trying to run is a file (or a link
to a file, we do a stat(2) so there is no diff)

29 years agoupdated
Todd C. Miller [Mon, 13 Mar 1995 20:56:47 +0000 (20:56 +0000)]
updated

29 years agoaclocal.m4 -> acsite.m4
Todd C. Miller [Mon, 13 Mar 1995 20:56:20 +0000 (20:56 +0000)]
aclocal.m4 -> acsite.m4
make realclean updated for new autoconf
\ 6

29 years agoadded myself as maintainer
Todd C. Miller [Mon, 13 Mar 1995 20:11:06 +0000 (20:11 +0000)]
added myself as maintainer

30 years agochanged setegid -> setgid
Todd C. Miller [Fri, 17 Feb 1995 04:31:06 +0000 (04:31 +0000)]
changed setegid -> setgid

30 years agofixed the test for irix 5.x to skip bad libs
Todd C. Miller [Mon, 6 Feb 1995 22:43:59 +0000 (22:43 +0000)]
fixed the test for irix 5.x to skip bad libs

30 years agonow initialize OS and OSREV
Todd C. Miller [Mon, 6 Feb 1995 22:43:42 +0000 (22:43 +0000)]
now initialize OS and OSREV

30 years agoirix5 changes
Todd C. Miller [Fri, 27 Jan 1995 01:52:33 +0000 (01:52 +0000)]
irix5 changes

30 years agoAC_WITH -> AC_ARG_WITH changes
Todd C. Miller [Fri, 27 Jan 1995 01:28:02 +0000 (01:28 +0000)]
AC_WITH -> AC_ARG_WITH changes
other misc changes for autoconf 2.1 compatibility

30 years agouse YY_NEW_FILE, not yyrestart since OSF flex doesn't do the righ
Todd C. Miller [Thu, 19 Jan 1995 00:49:53 +0000 (00:49 +0000)]
use YY_NEW_FILE, not yyrestart since OSF flex doesn't do the righ
thing wrt yyrestart (grrrr)

30 years agoadded visudoers/compat.h to DISTFILES
Todd C. Miller [Mon, 16 Jan 1995 23:44:20 +0000 (23:44 +0000)]
added visudoers/compat.h to DISTFILES

30 years agofixed an echo
Todd C. Miller [Mon, 16 Jan 1995 22:01:37 +0000 (22:01 +0000)]
fixed an echo

30 years agoadded ocmnd declaration
Todd C. Miller [Mon, 16 Jan 1995 21:36:02 +0000 (21:36 +0000)]
added ocmnd declaration
adjusted for find_path()'s new parameters

30 years agoadded ocmnd extern
Todd C. Miller [Mon, 16 Jan 1995 21:35:34 +0000 (21:35 +0000)]
added ocmnd extern
adjusted find_path() prototype

30 years agocmndcmp() now takes 3 arguments and checks against the qualified as well
Todd C. Miller [Mon, 16 Jan 1995 21:34:26 +0000 (21:34 +0000)]
cmndcmp() now takes 3 arguments and checks against the qualified as well
as the unqualified pathname.
more code that should use cmndcmp() but did not, now does

30 years agoadded to a comment
Todd C. Miller [Mon, 16 Jan 1995 21:34:08 +0000 (21:34 +0000)]
added to a comment

30 years agochanged to use new find_path() parameter passing
Todd C. Miller [Mon, 16 Jan 1995 21:33:39 +0000 (21:33 +0000)]
changed to use new find_path() parameter passing

30 years agofind_path() now takes 2 copyout parameters (one for the qualified pathname
Todd C. Miller [Mon, 16 Jan 1995 21:32:30 +0000 (21:32 +0000)]
find_path() now takes 2 copyout parameters (one for the qualified pathname
and one for the unqualified pathname).  The third parameter may be NULL.

30 years agono longer munge pathnames.h
Todd C. Miller [Mon, 16 Jan 1995 21:31:57 +0000 (21:31 +0000)]
no longer munge pathnames.h

30 years agochanged _PATH_* to use _SUDO_PATH_* (which are defined in config.h)
Todd C. Miller [Mon, 16 Jan 1995 21:30:48 +0000 (21:30 +0000)]
changed _PATH_* to use _SUDO_PATH_* (which are defined in config.h)
as a result, pathnames.h does not need to be run through configure
and the user can override the configured values easily.

30 years agoadded _SUDO_PATH_* entries
Todd C. Miller [Mon, 16 Jan 1995 21:30:23 +0000 (21:30 +0000)]
added _SUDO_PATH_* entries

30 years ago_PATH* -> _SUDO_PATH_*
Todd C. Miller [Mon, 16 Jan 1995 21:30:03 +0000 (21:30 +0000)]
_PATH* -> _SUDO_PATH_*

30 years agoupdated DISTFILES and HDRS
Todd C. Miller [Mon, 16 Jan 1995 21:28:11 +0000 (21:28 +0000)]
updated DISTFILES and HDRS
.o's now depend on config.h

30 years agoremoved extraneous #endif
Todd C. Miller [Fri, 13 Jan 1995 17:52:44 +0000 (17:52 +0000)]
removed extraneous #endif

30 years agoadded SUDO_PROG_MV
Todd C. Miller [Fri, 13 Jan 1995 17:48:02 +0000 (17:48 +0000)]
added SUDO_PROG_MV

30 years agoadded SUDO_PROG_MV
Todd C. Miller [Fri, 13 Jan 1995 17:47:01 +0000 (17:47 +0000)]
added SUDO_PROG_MV
added riscos and isc os types
took out -DSHORT_MESSAGE from --with-csops since it is now the default

30 years agomove the include of id.h to compat.h
Todd C. Miller [Fri, 13 Jan 1995 17:46:21 +0000 (17:46 +0000)]
move the include of id.h to compat.h
now includes options.h

30 years agomoved compatibility #defines to compat.h
Todd C. Miller [Fri, 13 Jan 1995 17:45:43 +0000 (17:45 +0000)]
moved compatibility #defines to compat.h

30 years agoadded _PATH_MV
Todd C. Miller [Fri, 13 Jan 1995 17:45:15 +0000 (17:45 +0000)]
added _PATH_MV

30 years agomove __P to compat.h
Todd C. Miller [Fri, 13 Jan 1995 17:43:56 +0000 (17:43 +0000)]
move __P to compat.h

30 years agonow includes compat.h
Todd C. Miller [Fri, 13 Jan 1995 17:39:59 +0000 (17:39 +0000)]
now includes compat.h

30 years agoInitial revision
Todd C. Miller [Fri, 13 Jan 1995 17:39:02 +0000 (17:39 +0000)]
Initial revision

30 years agopull user-configurable stuff out and put in options.h
Todd C. Miller [Thu, 12 Jan 1995 00:11:27 +0000 (00:11 +0000)]
pull user-configurable stuff out and put in options.h

30 years agonow includes options.h
Todd C. Miller [Wed, 11 Jan 1995 23:45:55 +0000 (23:45 +0000)]
now includes options.h

30 years agonow includes options.h
Todd C. Miller [Wed, 11 Jan 1995 23:43:45 +0000 (23:43 +0000)]
now includes options.h

30 years agoadded visudoers/options.h
Todd C. Miller [Wed, 11 Jan 1995 23:41:23 +0000 (23:41 +0000)]
added visudoers/options.h

30 years agoInitial revision
Todd C. Miller [Wed, 11 Jan 1995 23:40:37 +0000 (23:40 +0000)]
Initial revision

30 years agoadded OPTIONS and options.h
Todd C. Miller [Wed, 11 Jan 1995 23:39:13 +0000 (23:39 +0000)]
added OPTIONS and options.h

30 years agochanged #ifdef's to use LOGGING and SLOG_SYSLOG/SLOG_FILE
Todd C. Miller [Wed, 11 Jan 1995 23:36:53 +0000 (23:36 +0000)]
changed #ifdef's to use LOGGING and SLOG_SYSLOG/SLOG_FILE

30 years agochanged PASSWORD_TIMEOUT to minutes
Todd C. Miller [Wed, 11 Jan 1995 16:02:47 +0000 (16:02 +0000)]
changed PASSWORD_TIMEOUT to minutes

30 years agonow only do Editor +line_num if line_num != 0
Todd C. Miller [Sat, 17 Dec 1994 23:18:26 +0000 (23:18 +0000)]
now only do Editor +line_num if line_num  != 0

30 years agonow use mv if rename(2) fails
Todd C. Miller [Fri, 16 Dec 1994 02:06:56 +0000 (02:06 +0000)]
now use mv if rename(2) fails

30 years agoadded a visudo bug
Todd C. Miller [Fri, 16 Dec 1994 01:32:14 +0000 (01:32 +0000)]
added a visudo bug

30 years agoexpanded comment
Todd C. Miller [Fri, 16 Dec 1994 00:46:28 +0000 (00:46 +0000)]
expanded comment

30 years agofixed user_is_exempt to return 0 if EXEMPTGROUP is not set
Todd C. Miller [Sat, 12 Nov 1994 23:33:24 +0000 (23:33 +0000)]
fixed user_is_exempt to return 0 if EXEMPTGROUP is not set

30 years agoadded mips & isc support
Todd C. Miller [Thu, 10 Nov 1994 00:49:53 +0000 (00:49 +0000)]
added mips & isc support

30 years agoadded support for non-root owned sudoers file
Todd C. Miller [Thu, 10 Nov 1994 00:49:19 +0000 (00:49 +0000)]
added support for non-root owned sudoers file

30 years agoadded exempt group support
Todd C. Miller [Thu, 10 Nov 1994 00:48:55 +0000 (00:48 +0000)]
added exempt group support

30 years agoadded set_perms() support
Todd C. Miller [Thu, 10 Nov 1994 00:47:51 +0000 (00:47 +0000)]
added set_perms() support
added SUDOERS_OWNER so can have non-root own sudoers file
added exempt group support
added isc support

30 years agonow copy sudoers to temp file via read/write (not stdio)
Todd C. Miller [Thu, 10 Nov 1994 00:46:21 +0000 (00:46 +0000)]
now copy sudoers to temp file via read/write (not stdio)
now chown new sudoers file to SUDOERS_OWNER

30 years agoadded skey support
Todd C. Miller [Tue, 8 Nov 1994 01:40:52 +0000 (01:40 +0000)]
added skey support

30 years agobe_* -> setperms()
Todd C. Miller [Tue, 8 Nov 1994 01:40:27 +0000 (01:40 +0000)]
be_* -> setperms()

30 years agofixed typo
Todd C. Miller [Tue, 8 Nov 1994 01:39:43 +0000 (01:39 +0000)]
fixed typo
added set_perms support
added skey support
added seteuid()/setegid() emulation for AIX

30 years agobe_* -> setperms()
Todd C. Miller [Tue, 8 Nov 1994 01:38:57 +0000 (01:38 +0000)]
be_* -> setperms()
now check to make sure sudoers file is owned by root nread/write by only
root

30 years agobe_* -> setperms()
Todd C. Miller [Tue, 8 Nov 1994 01:38:44 +0000 (01:38 +0000)]
be_* -> setperms()

30 years agobe_* -> set_perms()
Todd C. Miller [Tue, 8 Nov 1994 01:38:00 +0000 (01:38 +0000)]
be_* -> set_perms()
added skey support

30 years ago++version
Todd C. Miller [Sun, 6 Nov 1994 23:59:38 +0000 (23:59 +0000)]
++version

30 years ago++
Todd C. Miller [Sun, 6 Nov 1994 23:59:26 +0000 (23:59 +0000)]
++

30 years agonow sets IFS
Todd C. Miller [Fri, 21 Oct 1994 17:16:33 +0000 (17:16 +0000)]
now sets IFS

30 years agofixed typo
Todd C. Miller [Fri, 21 Oct 1994 16:02:33 +0000 (16:02 +0000)]
fixed typo

30 years agoadded HAVE_SKEY
Todd C. Miller [Sat, 15 Oct 1994 19:48:44 +0000 (19:48 +0000)]
added HAVE_SKEY

30 years agoupdated
Todd C. Miller [Tue, 4 Oct 1994 17:00:31 +0000 (17:00 +0000)]
updated

30 years ago++version
Todd C. Miller [Tue, 4 Oct 1994 16:57:22 +0000 (16:57 +0000)]
++version

30 years ago++
Todd C. Miller [Tue, 4 Oct 1994 16:57:10 +0000 (16:57 +0000)]
++

30 years agonow bail if ARgv[1] > MAXPATHLEN
Todd C. Miller [Tue, 4 Oct 1994 16:56:40 +0000 (16:56 +0000)]
now bail if ARgv[1] > MAXPATHLEN

30 years agoadded function check for tcgetattr(3)
Todd C. Miller [Tue, 4 Oct 1994 16:56:25 +0000 (16:56 +0000)]
added function check for tcgetattr(3)