]> granicus.if.org Git - sudo/log
sudo
25 years agoadd check target
Todd C. Miller [Mon, 3 Jan 2000 04:26:17 +0000 (04:26 +0000)]
add check target

25 years agoTreat EOF at whatnow prompt like 'x' instead of looping.
Todd C. Miller [Thu, 16 Dec 1999 18:02:14 +0000 (18:02 +0000)]
Treat EOF at whatnow prompt like 'x' instead of looping.

25 years agorecent changes SUDO_1_6_1
Todd C. Miller [Fri, 10 Dec 1999 05:09:47 +0000 (05:09 +0000)]
recent changes

25 years agoAdd check for initgroups() since old SYSV lacks this.
Todd C. Miller [Thu, 9 Dec 1999 04:04:47 +0000 (04:04 +0000)]
Add check for initgroups() since old SYSV lacks this.

25 years agoo Kill HAVE_FNMATCH_H
Todd C. Miller [Thu, 9 Dec 1999 03:54:57 +0000 (03:54 +0000)]
o Kill HAVE_FNMATCH_H
o Only define HAVE_FNMATCH if <fnmatch.h> exists.

25 years agoDon't allow insults to be enabled if the insults[] array is empty.
Todd C. Miller [Mon, 6 Dec 1999 06:47:19 +0000 (06:47 +0000)]
Don't allow insults to be enabled if the insults[] array is empty.
Otherwise there would be division by zero.

25 years agoDon't allow insults to be enabled if the insults[] array is empty.
Todd C. Miller [Mon, 6 Dec 1999 06:47:13 +0000 (06:47 +0000)]
Don't allow insults to be enabled if the insults[] array is empty.
Otherwise there would be division by zero.

25 years agoDon't allow insults to be enabled if the insults[] array is empty.
Todd C. Miller [Mon, 6 Dec 1999 06:47:13 +0000 (06:47 +0000)]
Don't allow insults to be enabled if the insults[] array is empty.
Otherwise there would be division by zero.

25 years agoDon't care about USE_INSULTS #define since the insult stuff may be
Todd C. Miller [Mon, 6 Dec 1999 06:25:29 +0000 (06:25 +0000)]
Don't care about USE_INSULTS #define since the insult stuff may be
overridden at runtime.

25 years agoHonor insults flag.
Todd C. Miller [Mon, 6 Dec 1999 06:23:29 +0000 (06:23 +0000)]
Honor insults flag.

25 years agoDon't ask the user for a password if the user is not allowed to run
Todd C. Miller [Mon, 6 Dec 1999 00:14:54 +0000 (00:14 +0000)]
Don't ask the user for a password if the user is not allowed to run
the command and the authenticate flag (in sudoers) is false.

25 years agoo Whenever we get a bare newline we change to the INITIAL state.
Todd C. Miller [Mon, 6 Dec 1999 00:05:53 +0000 (00:05 +0000)]
o Whenever we get a bare newline we change to the INITIAL state.
o Enter GOTRUNAS when we see Runas_Alias

This allows #uid to work in a RunasAlias.

25 years agofix parsing of runas lists:
Todd C. Miller [Sun, 5 Dec 1999 19:06:09 +0000 (19:06 +0000)]
fix parsing of runas lists:
o oprunasuser and runaslist now return a value
o in a runasspec, if a runaslist does not return TRUE, set runas_matches to
  FALSE.  Normally, a runaslist only returns FALSE for explicitly denied
  users.
o since runaslist does not modify the stack there is no need for a push/pop
  in runasalias.

25 years agoDon't kill the user's tickets until after sudoers has been parsed
Todd C. Miller [Sun, 5 Dec 1999 02:54:20 +0000 (02:54 +0000)]
Don't kill the user's tickets until after sudoers has been parsed
since tty_tickets and ticket_dir could be set in sudoers.

25 years agocrank version to 1.6
Todd C. Miller [Sun, 5 Dec 1999 02:18:47 +0000 (02:18 +0000)]
crank version to 1.6

25 years agoadd set_fqdn() stub
Todd C. Miller [Sun, 5 Dec 1999 02:18:17 +0000 (02:18 +0000)]
add set_fqdn() stub

25 years agoo Kill shell_noargs option, it cannot work since the command needs to
Todd C. Miller [Thu, 2 Dec 1999 20:31:25 +0000 (20:31 +0000)]
o Kill shell_noargs option, it cannot work since the command needs to
  be set before sudoers is parsed.
o Fix the "set_home" sudoers option (only worked at compile time).
o Fix "fqdn" sudoers option.  We now set host/shost via set_fqdn which
  gets called when the "fqdn" option is set in sudoers.
o Move the openlog() to store_syslogfac() so this gets overridden
  correctly from the sudoers file.

25 years agoSecurID support should compile now.
Todd C. Miller [Thu, 2 Dec 1999 20:21:31 +0000 (20:21 +0000)]
SecurID support should compile now.

25 years agofix some syntactic goofs
Todd C. Miller [Mon, 29 Nov 1999 01:57:05 +0000 (01:57 +0000)]
fix some syntactic goofs

25 years agoNo longer need the .html files as they are generated automatically
Todd C. Miller [Sun, 28 Nov 1999 23:51:54 +0000 (23:51 +0000)]
No longer need the .html files as they are generated automatically
on the web site.

25 years agokill characters that made wml unhappy
Todd C. Miller [Sun, 28 Nov 1999 23:49:58 +0000 (23:49 +0000)]
kill characters that made wml unhappy

25 years agotypo
Todd C. Miller [Sun, 28 Nov 1999 23:34:53 +0000 (23:34 +0000)]
typo

25 years agomajordomo@cs.colorado.edu -> majordomo@courtesan.com
Todd C. Miller [Thu, 25 Nov 1999 17:05:24 +0000 (17:05 +0000)]
majordomo@cs.colorado.edu -> majordomo@courtesan.com

25 years agoWrap script execution w/ /bin/sh for the benefit of ctm
Todd C. Miller [Thu, 25 Nov 1999 00:43:44 +0000 (00:43 +0000)]
Wrap script execution w/ /bin/sh for the benefit of ctm

25 years agoMake the -s flag be exclusive too. Also reorder the flags in
Todd C. Miller [Wed, 24 Nov 1999 03:52:34 +0000 (03:52 +0000)]
Make the -s flag be exclusive too.  Also reorder the flags in
the exclusive usage message so they are alphabetical.

25 years agomake pam errors other than PAM_PERM_DENIED fatal
Todd C. Miller [Tue, 23 Nov 1999 18:27:00 +0000 (18:27 +0000)]
make pam errors other than PAM_PERM_DENIED fatal

25 years agofix typo
Todd C. Miller [Tue, 23 Nov 1999 18:07:16 +0000 (18:07 +0000)]
fix typo

25 years agomake it clear that /etc/pam.d/sudo is required on linux
Todd C. Miller [Tue, 23 Nov 1999 18:07:02 +0000 (18:07 +0000)]
make it clear that /etc/pam.d/sudo is required on linux

25 years agofix a warning on redhat and spew an error if pam_authenticate() returns an error...
Todd C. Miller [Tue, 23 Nov 1999 18:06:45 +0000 (18:06 +0000)]
fix a warning on redhat and spew an error if pam_authenticate() returns an error other than AUTH_SUCCESS or PAM_PERM_DENIED

25 years agoBe very clear that the password required is the user's not root's
Todd C. Miller [Tue, 23 Nov 1999 05:43:16 +0000 (05:43 +0000)]
Be very clear that the password required is the user's not root's

25 years agoadd sample.syslog.conf to DISTFILES and BINFILES
Todd C. Miller [Sat, 20 Nov 1999 02:04:12 +0000 (02:04 +0000)]
add sample.syslog.conf to DISTFILES and BINFILES

25 years agoupdates from Brian Jackson + some formatting
Todd C. Miller [Fri, 19 Nov 1999 00:13:56 +0000 (00:13 +0000)]
updates from Brian Jackson + some formatting

25 years agoo One RUNSon update
Todd C. Miller [Thu, 18 Nov 1999 02:39:50 +0000 (02:39 +0000)]
o One RUNSon update
o Changes for automating real binary releases

25 years agoAdd bindist target
Todd C. Miller [Thu, 18 Nov 1999 02:38:58 +0000 (02:38 +0000)]
Add bindist target

25 years agotalk about run-time options in addition to compile-time options SUDO_1_6_0
Todd C. Miller [Tue, 16 Nov 1999 21:26:09 +0000 (21:26 +0000)]
talk about run-time options in addition to compile-time options

25 years agofix typos
Todd C. Miller [Tue, 16 Nov 1999 06:16:39 +0000 (06:16 +0000)]
fix typos

25 years agoneed sys/time.h if HAVE_SETRLIMIT
Todd C. Miller [Tue, 16 Nov 1999 06:09:23 +0000 (06:09 +0000)]
need sys/time.h if HAVE_SETRLIMIT

25 years agoget rid of references to sudo-bugs. Now mention the web site or the sudo@ alias
Todd C. Miller [Tue, 16 Nov 1999 05:42:28 +0000 (05:42 +0000)]
get rid of references to sudo-bugs.  Now mention the web site or the sudo@ alias

25 years agorepair pod2html damage
Todd C. Miller [Tue, 16 Nov 1999 05:35:53 +0000 (05:35 +0000)]
repair pod2html damage

25 years agoUpdate for 1.6 release
Todd C. Miller [Tue, 16 Nov 1999 05:28:45 +0000 (05:28 +0000)]
Update for 1.6 release

25 years agoAdd warning about using ALL in a command context.
Todd C. Miller [Tue, 16 Nov 1999 05:23:41 +0000 (05:23 +0000)]
Add warning about using ALL in a command context.

25 years agoCall yyrestart() on a parse error to reset the lexer state.
Todd C. Miller [Tue, 9 Nov 1999 20:12:20 +0000 (20:12 +0000)]
Call yyrestart() on a parse error to reset the lexer state.

25 years agoDon't need YY_FLUSH_BUFFER after all
Todd C. Miller [Tue, 9 Nov 1999 20:06:53 +0000 (20:06 +0000)]
Don't need YY_FLUSH_BUFFER after all
Move yyrestart() into visudo.c since it might not get called in yywrap
    if we get a parse error (and we only reread the file on error anyway).

25 years agoCall YY_FLUSH_BUFFER macro in yywrap() to clean up any buffers that
Todd C. Miller [Tue, 9 Nov 1999 19:32:41 +0000 (19:32 +0000)]
Call YY_FLUSH_BUFFER macro in yywrap() to clean up any buffers that
might still exist.
Call yyrestart() instead of using the deprecated YY_NEW_FILE macro.

25 years agoflex doesn't need %N table size declarations
Todd C. Miller [Tue, 9 Nov 1999 17:13:46 +0000 (17:13 +0000)]
flex doesn't need %N table size declarations

25 years agoMention what characters need to be escaped in names.
Todd C. Miller [Tue, 9 Nov 1999 00:00:29 +0000 (00:00 +0000)]
Mention what characters need to be escaped in names.

25 years agoregen
Todd C. Miller [Mon, 8 Nov 1999 23:59:53 +0000 (23:59 +0000)]
regen

25 years agoclarify Mac OS X entry
Todd C. Miller [Mon, 8 Nov 1999 23:59:12 +0000 (23:59 +0000)]
clarify Mac OS X entry

25 years agoupdate
Todd C. Miller [Mon, 8 Nov 1999 23:59:01 +0000 (23:59 +0000)]
update

25 years agoo Use AC_MSG_ERROR throughout
Todd C. Miller [Mon, 8 Nov 1999 22:45:42 +0000 (22:45 +0000)]
o Use AC_MSG_ERROR throughout
o Check syslog configure options for danity

25 years agoFix printing of type T_MODE in dump_defaults()
Todd C. Miller [Fri, 5 Nov 1999 22:11:55 +0000 (22:11 +0000)]
Fix printing of type T_MODE in dump_defaults()

25 years agomissing sys/types.h
Todd C. Miller [Fri, 5 Nov 1999 17:00:00 +0000 (17:00 +0000)]
missing sys/types.h

25 years agoBreak out options that may be overridden at run time into their own
Todd C. Miller [Fri, 5 Nov 1999 05:42:45 +0000 (05:42 +0000)]
Break out options that may be overridden at run time into their own
section.  Add a not about Max OS X and correct some lies.

25 years agoo Now use getrlimit to find the highest fd when closing all non-std fd's
Todd C. Miller [Thu, 4 Nov 1999 19:01:11 +0000 (19:01 +0000)]
o Now use getrlimit to find the highest fd when closing all non-std fd's
o Turn off core dumps via setrlimit for the sake of paranoia

25 years agoupdates
Todd C. Miller [Thu, 4 Nov 1999 18:57:43 +0000 (18:57 +0000)]
updates

25 years agoupdates
Todd C. Miller [Mon, 1 Nov 1999 15:59:05 +0000 (15:59 +0000)]
updates

25 years agoWhen read()'ing, do a single character at a time to be sure we don't go
Todd C. Miller [Mon, 1 Nov 1999 15:58:46 +0000 (15:58 +0000)]
When read()'ing, do a single character at a time to be sure we don't go
oast the newline.

25 years agoFor the sudo_root option, check against user_uid, not getuid() since
Todd C. Miller [Mon, 1 Nov 1999 15:43:12 +0000 (15:43 +0000)]
For the sudo_root option, check against user_uid, not getuid() since
at this point, ruid == euid == 0.

25 years agosome updates
Todd C. Miller [Mon, 1 Nov 1999 04:14:21 +0000 (04:14 +0000)]
some updates

25 years agoFix compilation problem when --with-logging=file was specified. This
Todd C. Miller [Mon, 1 Nov 1999 04:14:09 +0000 (04:14 +0000)]
Fix compilation problem when --with-logging=file was specified.  This
means that syslog is now required to build sudo but that should not
be a problem.  If it is it can be fixed trivially with a configure
check for syslog() or syslog.h.

25 years agoMake this work again for things like "sudo echo hi | more" where the tty
Todd C. Miller [Mon, 1 Nov 1999 04:00:57 +0000 (04:00 +0000)]
Make this work again for things like "sudo echo hi | more" where the tty
gets put into character at a time mode.  We read until we read end of
line or we run out of space (similar to fgets(3)).

25 years agochange ital to bold
Todd C. Miller [Wed, 20 Oct 1999 15:23:42 +0000 (15:23 +0000)]
change ital to bold

25 years agoupdate
Todd C. Miller [Wed, 20 Oct 1999 15:23:19 +0000 (15:23 +0000)]
update

25 years agoError out if syslog parameters are given without a value. For Ultrix or
Todd C. Miller [Sat, 16 Oct 1999 17:56:31 +0000 (17:56 +0000)]
Error out if syslog parameters are given without a value.  For Ultrix or
4.2BSD "syslog" is allowed without a value since there are no facilities
in the 4.2BSD syslog.

25 years agoIgnore the syslog facility for systems w/ old syslog like Ultrix.
Todd C. Miller [Fri, 15 Oct 1999 20:37:04 +0000 (20:37 +0000)]
Ignore the syslog facility for systems w/ old syslog like Ultrix.

25 years agopeople with "." early in their path can have problems running sudo from the build...
Todd C. Miller [Fri, 15 Oct 1999 16:51:08 +0000 (16:51 +0000)]
people with "." early in their path can have problems running sudo from the build dir ;-)

25 years agoRemove -r realm option
Todd C. Miller [Wed, 13 Oct 1999 04:18:41 +0000 (04:18 +0000)]
Remove -r realm option

25 years agoNew krb5 code from Frank Cusack <fcusack@iconnet.net>.
Todd C. Miller [Wed, 13 Oct 1999 02:34:55 +0000 (02:34 +0000)]
New krb5 code from Frank Cusack <fcusack@iconnet.net>.

25 years agoupdate to reality
Todd C. Miller [Wed, 13 Oct 1999 02:33:09 +0000 (02:33 +0000)]
update to reality

25 years agoinclude <auth.h> to get function prototypes.
Todd C. Miller [Tue, 12 Oct 1999 00:53:41 +0000 (00:53 +0000)]
include <auth.h> to get function prototypes.

25 years agodocument -L flag
Todd C. Miller [Tue, 12 Oct 1999 00:05:39 +0000 (00:05 +0000)]
document -L flag

25 years agoin set_perms(), always call setuid(0) before changing the ruid/euid
Todd C. Miller [Mon, 11 Oct 1999 23:42:57 +0000 (23:42 +0000)]
in set_perms(), always call setuid(0) before changing the ruid/euid
so we always know it will succeed.

25 years ago#undef T_FOO to avoid conflicts with system defines (like on ULTRIX).
Todd C. Miller [Mon, 11 Oct 1999 16:24:02 +0000 (16:24 +0000)]
#undef T_FOO to avoid conflicts with system defines (like on ULTRIX).

25 years agoDocuement "Defaults" lines in /etc/sudoers. Still needs some fleshing
Todd C. Miller [Mon, 11 Oct 1999 15:55:11 +0000 (15:55 +0000)]
Docuement "Defaults" lines in /etc/sudoers.  Still needs some fleshing
out but this is a start.

25 years agouse strtol, not strtoul since not everyone has not strtoul
Todd C. Miller [Sun, 10 Oct 1999 21:22:10 +0000 (21:22 +0000)]
use strtol, not strtoul since not everyone has not strtoul

25 years agouse strtol, not strtoul since not everyone has not strtoul
Todd C. Miller [Sun, 10 Oct 1999 21:21:22 +0000 (21:21 +0000)]
use strtol, not strtoul since not everyone has not strtoul

25 years agolast {WORD} rule should only apply in the INITIAL state
Todd C. Miller [Sun, 10 Oct 1999 19:01:30 +0000 (19:01 +0000)]
last {WORD} rule should only apply in the INITIAL state

25 years agoo Add support for escaped characters in the WORD macro
Todd C. Miller [Sun, 10 Oct 1999 18:38:40 +0000 (18:38 +0000)]
o Add support for escaped characters in the WORD macro
o Modify fill() to squash escape chars

25 years agoo Add T_PATH flag to allow simple sanity checks for default values that
Todd C. Miller [Sun, 10 Oct 1999 17:56:02 +0000 (17:56 +0000)]
o Add T_PATH flag to allow simple sanity checks for default values that
  are supposed to be pathnames.
o Fix a duplicate free when visudo finds an error.

25 years agomail_if_foo -> mail_foo
Todd C. Miller [Sat, 9 Oct 1999 05:01:48 +0000 (05:01 +0000)]
mail_if_foo -> mail_foo

25 years agoo Add requiretty option
Todd C. Miller [Fri, 8 Oct 1999 01:12:50 +0000 (01:12 +0000)]
o Add requiretty option
o Move O_NOCTTY to compat.h

25 years agoThe exit() in log_error() was mistakenly removed in a previous version.
Todd C. Miller [Fri, 8 Oct 1999 01:12:02 +0000 (01:12 +0000)]
The exit() in log_error() was mistakenly removed in a previous version.
Put it back...

25 years agoo Change defaults stuff to put the value right in the struct.
Todd C. Miller [Thu, 7 Oct 1999 21:21:08 +0000 (21:21 +0000)]
o Change defaults stuff to put the value right in the struct.
o Implement mailer_flags
o Store syslog stuff both in int and string form.  Setting the string
  form magically updates the int version.
o Add boolean attribute to strings where it makes sense to say !foo

25 years agoadd O_NOCTTY when opening /dev/tty just in case
Todd C. Miller [Thu, 7 Oct 1999 21:13:45 +0000 (21:13 +0000)]
add O_NOCTTY when opening /dev/tty just in case

25 years agocleanup function no longer takes a status arg
Todd C. Miller [Wed, 6 Oct 1999 04:48:47 +0000 (04:48 +0000)]
cleanup function no longer takes a status arg

25 years agothe the
Todd C. Miller [Wed, 6 Oct 1999 04:48:15 +0000 (04:48 +0000)]
the the

25 years agoUse strftime() instead of ctime() if it is available.
Todd C. Miller [Wed, 15 Sep 1999 09:15:33 +0000 (09:15 +0000)]
Use strftime() instead of ctime() if it is available.

25 years agofix copyright date
Todd C. Miller [Tue, 14 Sep 1999 16:58:56 +0000 (16:58 +0000)]
fix copyright date

25 years agoupdate ReliantUNIX entry
Todd C. Miller [Tue, 14 Sep 1999 16:57:10 +0000 (16:57 +0000)]
update ReliantUNIX entry

25 years agoadd log_year option
Todd C. Miller [Tue, 14 Sep 1999 16:56:32 +0000 (16:56 +0000)]
add log_year option

25 years agoadd --without-sendmail to help output
Todd C. Miller [Tue, 14 Sep 1999 08:01:25 +0000 (08:01 +0000)]
add --without-sendmail to help output

25 years agoenforce an otctal arg for --with-suoders-mode
Todd C. Miller [Tue, 14 Sep 1999 07:42:16 +0000 (07:42 +0000)]
enforce an otctal arg for --with-suoders-mode

25 years agoAdd support for "Defaults" line in sudoers to make configuration variables
Todd C. Miller [Wed, 8 Sep 1999 08:06:28 +0000 (08:06 +0000)]
Add support for "Defaults" line in sudoers to make configuration variables
changable at runtime (and on a global, per-host and per-user basis).
Both the names and the internal representation are still subject to change.
It was necessary to make sudo_user.runas but a char ** instead of a
char * since this value can be changed by a Defaults line.  There is a
similar (but more complicated) issue with sudo_user.prompt but it
is handled differently at the moment.

Add a "-L" flag to list the name of options with their descriptions.  This
may only be temporary.

Move some prototypes to parse.h

Be much less restrictive on what is allowed for a username.

25 years agoAdd more info
Todd C. Miller [Wed, 8 Sep 1999 08:01:10 +0000 (08:01 +0000)]
Add more info

25 years agoUCB has dropped the advertising clause from their license.
Todd C. Miller [Sat, 4 Sep 1999 07:09:04 +0000 (07:09 +0000)]
UCB has dropped the advertising clause from their license.

25 years agomove dce_verofy proto to correct section
Todd C. Miller [Tue, 31 Aug 1999 09:39:45 +0000 (09:39 +0000)]
move dce_verofy proto to correct section

25 years agoremove XXX
Todd C. Miller [Tue, 31 Aug 1999 09:39:17 +0000 (09:39 +0000)]
remove XXX

25 years agoAdd fnmatch() prototype
Todd C. Miller [Sat, 28 Aug 1999 10:00:54 +0000 (10:00 +0000)]
Add fnmatch() prototype

25 years agoMove inclusion of emul/fnmatch.h to be after sudo.h for __P
Todd C. Miller [Sat, 28 Aug 1999 10:00:22 +0000 (10:00 +0000)]
Move inclusion of emul/fnmatch.h to be after sudo.h for __P

25 years agoadd strcasecmp proto
Todd C. Miller [Sat, 28 Aug 1999 09:59:18 +0000 (09:59 +0000)]
add strcasecmp proto