]>
granicus.if.org Git - sudo/log
Todd C. Miller [Mon, 3 Jan 2000 04:26:17 +0000 (04:26 +0000)]
add check target
Todd C. Miller [Thu, 16 Dec 1999 18:02:14 +0000 (18:02 +0000)]
Treat EOF at whatnow prompt like 'x' instead of looping.
Todd C. Miller [Fri, 10 Dec 1999 05:09:47 +0000 (05:09 +0000)]
recent changes
Todd C. Miller [Thu, 9 Dec 1999 04:04:47 +0000 (04:04 +0000)]
Add check for initgroups() since old SYSV lacks this.
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.
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.
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.
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.
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.
Todd C. Miller [Mon, 6 Dec 1999 06:23:29 +0000 (06:23 +0000)]
Honor insults flag.
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.
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.
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.
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.
Todd C. Miller [Sun, 5 Dec 1999 02:18:47 +0000 (02:18 +0000)]
crank version to 1.6
Todd C. Miller [Sun, 5 Dec 1999 02:18:17 +0000 (02:18 +0000)]
add set_fqdn() stub
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.
Todd C. Miller [Thu, 2 Dec 1999 20:21:31 +0000 (20:21 +0000)]
SecurID support should compile now.
Todd C. Miller [Mon, 29 Nov 1999 01:57:05 +0000 (01:57 +0000)]
fix some syntactic goofs
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.
Todd C. Miller [Sun, 28 Nov 1999 23:49:58 +0000 (23:49 +0000)]
kill characters that made wml unhappy
Todd C. Miller [Sun, 28 Nov 1999 23:34:53 +0000 (23:34 +0000)]
typo
Todd C. Miller [Thu, 25 Nov 1999 17:05:24 +0000 (17:05 +0000)]
majordomo@cs.colorado.edu -> majordomo@courtesan.com
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
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.
Todd C. Miller [Tue, 23 Nov 1999 18:27:00 +0000 (18:27 +0000)]
make pam errors other than PAM_PERM_DENIED fatal
Todd C. Miller [Tue, 23 Nov 1999 18:07:16 +0000 (18:07 +0000)]
fix typo
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
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
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
Todd C. Miller [Sat, 20 Nov 1999 02:04:12 +0000 (02:04 +0000)]
add sample.syslog.conf to DISTFILES and BINFILES
Todd C. Miller [Fri, 19 Nov 1999 00:13:56 +0000 (00:13 +0000)]
updates from Brian Jackson + some formatting
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
Todd C. Miller [Thu, 18 Nov 1999 02:38:58 +0000 (02:38 +0000)]
Add bindist target
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
Todd C. Miller [Tue, 16 Nov 1999 06:16:39 +0000 (06:16 +0000)]
fix typos
Todd C. Miller [Tue, 16 Nov 1999 06:09:23 +0000 (06:09 +0000)]
need sys/time.h if HAVE_SETRLIMIT
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
Todd C. Miller [Tue, 16 Nov 1999 05:35:53 +0000 (05:35 +0000)]
repair pod2html damage
Todd C. Miller [Tue, 16 Nov 1999 05:28:45 +0000 (05:28 +0000)]
Update for 1.6 release
Todd C. Miller [Tue, 16 Nov 1999 05:23:41 +0000 (05:23 +0000)]
Add warning about using ALL in a command context.
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.
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).
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.
Todd C. Miller [Tue, 9 Nov 1999 17:13:46 +0000 (17:13 +0000)]
flex doesn't need %N table size declarations
Todd C. Miller [Tue, 9 Nov 1999 00:00:29 +0000 (00:00 +0000)]
Mention what characters need to be escaped in names.
Todd C. Miller [Mon, 8 Nov 1999 23:59:53 +0000 (23:59 +0000)]
regen
Todd C. Miller [Mon, 8 Nov 1999 23:59:12 +0000 (23:59 +0000)]
clarify Mac OS X entry
Todd C. Miller [Mon, 8 Nov 1999 23:59:01 +0000 (23:59 +0000)]
update
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
Todd C. Miller [Fri, 5 Nov 1999 22:11:55 +0000 (22:11 +0000)]
Fix printing of type T_MODE in dump_defaults()
Todd C. Miller [Fri, 5 Nov 1999 17:00:00 +0000 (17:00 +0000)]
missing sys/types.h
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.
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
Todd C. Miller [Thu, 4 Nov 1999 18:57:43 +0000 (18:57 +0000)]
updates
Todd C. Miller [Mon, 1 Nov 1999 15:59:05 +0000 (15:59 +0000)]
updates
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.
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.
Todd C. Miller [Mon, 1 Nov 1999 04:14:21 +0000 (04:14 +0000)]
some updates
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.
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)).
Todd C. Miller [Wed, 20 Oct 1999 15:23:42 +0000 (15:23 +0000)]
change ital to bold
Todd C. Miller [Wed, 20 Oct 1999 15:23:19 +0000 (15:23 +0000)]
update
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.
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.
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 ;-)
Todd C. Miller [Wed, 13 Oct 1999 04:18:41 +0000 (04:18 +0000)]
Remove -r realm option
Todd C. Miller [Wed, 13 Oct 1999 02:34:55 +0000 (02:34 +0000)]
New krb5 code from Frank Cusack <fcusack@iconnet.net>.
Todd C. Miller [Wed, 13 Oct 1999 02:33:09 +0000 (02:33 +0000)]
update to reality
Todd C. Miller [Tue, 12 Oct 1999 00:53:41 +0000 (00:53 +0000)]
include <auth.h> to get function prototypes.
Todd C. Miller [Tue, 12 Oct 1999 00:05:39 +0000 (00:05 +0000)]
document -L flag
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.
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).
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.
Todd C. Miller [Sun, 10 Oct 1999 21:22:10 +0000 (21:22 +0000)]
use 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
Todd C. Miller [Sun, 10 Oct 1999 19:01:30 +0000 (19:01 +0000)]
last {WORD} rule should only apply in the INITIAL state
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
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.
Todd C. Miller [Sat, 9 Oct 1999 05:01:48 +0000 (05:01 +0000)]
mail_if_foo -> mail_foo
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
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...
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
Todd C. Miller [Thu, 7 Oct 1999 21:13:45 +0000 (21:13 +0000)]
add O_NOCTTY when opening /dev/tty just in case
Todd C. Miller [Wed, 6 Oct 1999 04:48:47 +0000 (04:48 +0000)]
cleanup function no longer takes a status arg
Todd C. Miller [Wed, 6 Oct 1999 04:48:15 +0000 (04:48 +0000)]
the the
Todd C. Miller [Wed, 15 Sep 1999 09:15:33 +0000 (09:15 +0000)]
Use strftime() instead of ctime() if it is available.
Todd C. Miller [Tue, 14 Sep 1999 16:58:56 +0000 (16:58 +0000)]
fix copyright date
Todd C. Miller [Tue, 14 Sep 1999 16:57:10 +0000 (16:57 +0000)]
update ReliantUNIX entry
Todd C. Miller [Tue, 14 Sep 1999 16:56:32 +0000 (16:56 +0000)]
add log_year option
Todd C. Miller [Tue, 14 Sep 1999 08:01:25 +0000 (08:01 +0000)]
add --without-sendmail to help output
Todd C. Miller [Tue, 14 Sep 1999 07:42:16 +0000 (07:42 +0000)]
enforce an otctal arg for --with-suoders-mode
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.
Todd C. Miller [Wed, 8 Sep 1999 08:01:10 +0000 (08:01 +0000)]
Add more info
Todd C. Miller [Sat, 4 Sep 1999 07:09:04 +0000 (07:09 +0000)]
UCB has dropped the advertising clause from their license.
Todd C. Miller [Tue, 31 Aug 1999 09:39:45 +0000 (09:39 +0000)]
move dce_verofy proto to correct section
Todd C. Miller [Tue, 31 Aug 1999 09:39:17 +0000 (09:39 +0000)]
remove XXX
Todd C. Miller [Sat, 28 Aug 1999 10:00:54 +0000 (10:00 +0000)]
Add fnmatch() prototype
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
Todd C. Miller [Sat, 28 Aug 1999 09:59:18 +0000 (09:59 +0000)]
add strcasecmp proto