]>
granicus.if.org Git - sudo/log
Todd C. Miller [Wed, 16 Feb 2000 00:07:28 +0000 (00:07 +0000)]
crank versino to 1.6.3
Todd C. Miller [Wed, 16 Feb 2000 00:03:44 +0000 (00:03 +0000)]
Add 'editor' and 'enveditor' sudoers defaults and make visudo honor them.
This means that visudo will now parse the sudoers file *before* it is
edited so a bogus sudoers file will cause a warning to go to stderr.
Also, visudo checks the variables once--it does not check them after
each editor run since that could be confusing.
Todd C. Miller [Tue, 15 Feb 2000 23:49:48 +0000 (23:49 +0000)]
1.6.2 -> 1.6.2p1
Todd C. Miller [Tue, 15 Feb 2000 23:36:04 +0000 (23:36 +0000)]
Move user_is_exempt prototype into sudo.h
Todd C. Miller [Sun, 13 Feb 2000 18:38:14 +0000 (18:38 +0000)]
Fix thinko, some && should have been || in the last commit
Todd C. Miller [Sun, 13 Feb 2000 18:28:04 +0000 (18:28 +0000)]
Don't initialized Makefile variables to be NULL since the user may
want to import variables from their environment.
Todd C. Miller [Fri, 4 Feb 2000 02:09:02 +0000 (02:09 +0000)]
typo
Todd C. Miller [Fri, 28 Jan 2000 01:41:33 +0000 (01:41 +0000)]
fix a yacc (skeleton.c) warning
Todd C. Miller [Thu, 27 Jan 2000 20:01:37 +0000 (20:01 +0000)]
Make pam work on HP-UX 11.0;jaearick@colby.edu
Todd C. Miller [Thu, 27 Jan 2000 20:01:35 +0000 (20:01 +0000)]
recent changes; prepare for 1.6.2p1
Todd C. Miller [Thu, 27 Jan 2000 04:31:58 +0000 (04:31 +0000)]
Don't apply SECURE_PATH if user is example; jmknoble@pobox.com
Todd C. Miller [Wed, 26 Jan 2000 23:14:18 +0000 (23:14 +0000)]
Regen with yacc that has a memory leak plugged.
Todd C. Miller [Wed, 26 Jan 2000 21:21:28 +0000 (21:21 +0000)]
Expanded docs on sudoers 'defaults' options based on INSTALL file info.
Todd C. Miller [Wed, 26 Jan 2000 21:21:00 +0000 (21:21 +0000)]
Fix some while lies
Todd C. Miller [Mon, 24 Jan 2000 15:48:46 +0000 (15:48 +0000)]
When making a bindist, link FAQ to TROUBLESHOOTING instead of copying.
Todd C. Miller [Mon, 24 Jan 2000 03:57:49 +0000 (03:57 +0000)]
Add netgroup caveat
Todd C. Miller [Mon, 24 Jan 2000 03:42:14 +0000 (03:42 +0000)]
Last minute updates
Todd C. Miller [Mon, 24 Jan 2000 03:26:22 +0000 (03:26 +0000)]
PAM entry
Todd C. Miller [Mon, 24 Jan 2000 03:23:40 +0000 (03:23 +0000)]
correct a comment
Todd C. Miller [Mon, 24 Jan 2000 03:03:04 +0000 (03:03 +0000)]
update for 1.6.2
Todd C. Miller [Mon, 24 Jan 2000 02:59:12 +0000 (02:59 +0000)]
Better detection of PAM errors and fix custom prompts with PAM.
Based on patches from "Cloyce D. Spradling" <cloyce@headgear.org>
Todd C. Miller [Thu, 20 Jan 2000 16:15:41 +0000 (16:15 +0000)]
Cast ULONG_MAX to unsigned long long when comparing to an unsigned long long
value.
Todd C. Miller [Wed, 19 Jan 2000 19:07:24 +0000 (19:07 +0000)]
Fix sudoers locking in visudo. We now lock the sudoers file itself, not
the temp file (since locking the temp file can foul up editors). The
previous locking scheme didn't work because the fd was closed too early.
Todd C. Miller [Wed, 19 Jan 2000 18:37:51 +0000 (18:37 +0000)]
Don't need test for ftruncate() any more.
Todd C. Miller [Wed, 19 Jan 2000 02:23:48 +0000 (02:23 +0000)]
Add a test for the -Aa flag w/ HP-UX's cc. Fixes compilation with the
unbundled HP-UX cc.
Todd C. Miller [Tue, 18 Jan 2000 22:00:40 +0000 (22:00 +0000)]
"a a" -> "a"; Aaron Campbell <aaron@cs.dal.ca>
Todd C. Miller [Mon, 17 Jan 2000 23:46:26 +0000 (23:46 +0000)]
update copyright year on changed files
Todd C. Miller [Mon, 17 Jan 2000 23:45:37 +0000 (23:45 +0000)]
updates
Todd C. Miller [Mon, 17 Jan 2000 23:45:28 +0000 (23:45 +0000)]
aix fix
Todd C. Miller [Mon, 17 Jan 2000 23:42:19 +0000 (23:42 +0000)]
Crank version to 1.6.2
Todd C. Miller [Mon, 17 Jan 2000 23:11:26 +0000 (23:11 +0000)]
Crank version to 1.6.2
Todd C. Miller [Mon, 17 Jan 2000 22:46:32 +0000 (22:46 +0000)]
When using rlimit check for RLIM_INFINITY
When computing the value of maxfd, use min(getdtablesize(), RLIMIT_NOFILE)
Todd C. Miller [Mon, 17 Jan 2000 17:32:51 +0000 (17:32 +0000)]
recent changes
Todd C. Miller [Mon, 17 Jan 2000 17:28:41 +0000 (17:28 +0000)]
Crank version to 1.6.2
Todd C. Miller [Mon, 17 Jan 2000 17:25:10 +0000 (17:25 +0000)]
Add 'shell_noargs' runtime option back in. We have to defer checking
until after the sudoers file has been parsed but since there are now
other options that operate that way this one can too. Based on a patch
from bguillory@email.com.
Todd C. Miller [Mon, 17 Jan 2000 04:05:18 +0000 (04:05 +0000)]
Add "listpw" and "verifypw" options.
Todd C. Miller [Mon, 17 Jan 2000 03:57:26 +0000 (03:57 +0000)]
o Fix some typos/omissions
o Add section on verifypw and listpw
o Define how NOPASSWD interacts with the -v and -l flags
Todd C. Miller [Fri, 14 Jan 2000 17:39:00 +0000 (17:39 +0000)]
For HP-UX cc, add -Aa to CPPFLAGS.
For HP-UX always add -D_HPUX_SOURCE to CPPFLAGS.
Todd C. Miller [Fri, 14 Jan 2000 17:29:35 +0000 (17:29 +0000)]
In struct sudo_defs_types, move the union to the end and don't initialize
the union member since that only works with an ANSI compiler. We set
the value of the union by hand in init_defaults() anyway. This allows
sudo to compile on a K&R compiler again.
Todd C. Miller [Tue, 11 Jan 2000 18:20:41 +0000 (18:20 +0000)]
netgr_matches needs to check shost as well as host since they may be different.
Todd C. Miller [Tue, 11 Jan 2000 18:17:50 +0000 (18:17 +0000)]
End on \r as well as \n
Todd C. Miller [Mon, 3 Jan 2000 04:53:35 +0000 (04:53 +0000)]
Update statbuf.st_mode based on SUDOERS_MODE when we are chaning from
0400 to whatever SUDOERS_MODE is (converting from the old sudoers mode).
Assumes that SUDOERS_MODE is less restrictive than 0400 which should
always be the case.
Todd C. Miller [Mon, 3 Jan 2000 04:43:33 +0000 (04:43 +0000)]
Make treatment of -l and -v sane wrt NOPASSWD flags. Now allow -l w/o a passwd
if there is *any* entry for the user on the host with a NOPASSWD flag.
For -v, only allow w/o a passwd if *all* entries for the user on the host
w/ the specified runas user have the NOPASSWD flag set.
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.