]>
granicus.if.org Git - sudo/log
Aaron Spangler [Sat, 31 Jul 2004 02:06:37 +0000 (02:06 +0000)]
Sun One schema definition by Andreas.Bussjaeger@t-systems.com and janth@moldung.no
Todd C. Miller [Thu, 29 Jul 2004 15:57:02 +0000 (15:57 +0000)]
typo
Todd C. Miller [Fri, 23 Jul 2004 20:44:09 +0000 (20:44 +0000)]
sync
Todd C. Miller [Fri, 23 Jul 2004 20:43:09 +0000 (20:43 +0000)]
Parse sudoers file as PERM_RUNAS not PERM_ROOT and remove a useless
PERM_SUDOERS. Restore to PERM_ROOT upon exit of the parse.
Todd C. Miller [Thu, 8 Jul 2004 14:20:09 +0000 (14:20 +0000)]
PAM change
Aaron Spangler [Thu, 8 Jul 2004 01:04:50 +0000 (01:04 +0000)]
Better debugging of ALL command
Todd C. Miller [Thu, 8 Jul 2004 00:15:37 +0000 (00:15 +0000)]
When matching for "sudoedit" in sudoers check both the command the user
typed *and* the command that is listed in the sudoers entry.
Aaron Spangler [Sun, 4 Jul 2004 23:59:27 +0000 (23:59 +0000)]
Added !command feature
Todd C. Miller [Mon, 28 Jun 2004 14:51:50 +0000 (14:51 +0000)]
Use pam_acct_mgmt() to check for disabled accounts; Brian Farrell
Todd C. Miller [Fri, 11 Jun 2004 03:11:27 +0000 (03:11 +0000)]
License is ISC-style, not BSD-style
Todd C. Miller [Fri, 11 Jun 2004 00:58:29 +0000 (00:58 +0000)]
sync
Todd C. Miller [Thu, 10 Jun 2004 20:54:25 +0000 (20:54 +0000)]
regen
Todd C. Miller [Thu, 10 Jun 2004 20:53:03 +0000 (20:53 +0000)]
o Update some out of date bits to reality
o Change the shell promt in examples to bourne-shell style
o Clarify some details
o Add a CAVEAT about "sudo cd /foo"
Todd C. Miller [Thu, 10 Jun 2004 20:19:38 +0000 (20:19 +0000)]
Don't ask for a password if invoking user == target user.
Todd C. Miller [Thu, 10 Jun 2004 16:32:59 +0000 (16:32 +0000)]
typo in comment
Todd C. Miller [Tue, 8 Jun 2004 23:20:11 +0000 (23:20 +0000)]
regen
Todd C. Miller [Tue, 8 Jun 2004 23:19:48 +0000 (23:19 +0000)]
Expand on NOEXEC a little.
Todd C. Miller [Tue, 8 Jun 2004 20:20:22 +0000 (20:20 +0000)]
sync
Todd C. Miller [Tue, 8 Jun 2004 19:58:08 +0000 (19:58 +0000)]
regen
Todd C. Miller [Tue, 8 Jun 2004 19:56:01 +0000 (19:56 +0000)]
regen
Todd C. Miller [Tue, 8 Jun 2004 19:55:53 +0000 (19:55 +0000)]
Add a check in visudo for runas_default being set after it has already
been used.
Todd C. Miller [Tue, 8 Jun 2004 19:55:53 +0000 (19:55 +0000)]
Add a check in visudo for runas_default being set after it has already
been used.
Todd C. Miller [Tue, 8 Jun 2004 17:54:05 +0000 (17:54 +0000)]
regen
Todd C. Miller [Tue, 8 Jun 2004 17:53:52 +0000 (17:53 +0000)]
Add a MATCHED macro for testing whether foo_matches has been set to
TRUE or FALSE. This is more readable than checking for >=0 or < 0.
Doesn't change the actual code generated.
Todd C. Miller [Mon, 7 Jun 2004 00:12:23 +0000 (00:12 +0000)]
regen
Todd C. Miller [Mon, 7 Jun 2004 00:11:15 +0000 (00:11 +0000)]
regen
Todd C. Miller [Mon, 7 Jun 2004 00:07:35 +0000 (00:07 +0000)]
Correct description of where Defaults specs should go.
Todd C. Miller [Mon, 7 Jun 2004 00:07:35 +0000 (00:07 +0000)]
Correct description of where Defaults specs should go.
Todd C. Miller [Mon, 7 Jun 2004 00:02:56 +0000 (00:02 +0000)]
update (c) year
Todd C. Miller [Mon, 7 Jun 2004 00:02:56 +0000 (00:02 +0000)]
update (c) year
Todd C. Miller [Mon, 7 Jun 2004 00:02:56 +0000 (00:02 +0000)]
update (c) year
Todd C. Miller [Mon, 7 Jun 2004 00:02:56 +0000 (00:02 +0000)]
update (c) year
Todd C. Miller [Mon, 7 Jun 2004 00:02:56 +0000 (00:02 +0000)]
update (c) year
Todd C. Miller [Mon, 7 Jun 2004 00:02:56 +0000 (00:02 +0000)]
update (c) year
Todd C. Miller [Sun, 6 Jun 2004 23:58:35 +0000 (23:58 +0000)]
regen
Todd C. Miller [Sun, 6 Jun 2004 23:58:15 +0000 (23:58 +0000)]
Remove trailing spaces, no actual code changes.
Todd C. Miller [Sun, 6 Jun 2004 23:58:11 +0000 (23:58 +0000)]
Remove trailing spaces, no actual code changes.
Todd C. Miller [Sun, 6 Jun 2004 23:58:11 +0000 (23:58 +0000)]
Remove trailing spaces, no actual code changes.
Todd C. Miller [Sun, 6 Jun 2004 23:58:10 +0000 (23:58 +0000)]
Remove trailing spaces, no actual code changes.
Todd C. Miller [Sun, 6 Jun 2004 23:58:10 +0000 (23:58 +0000)]
Remove trailing spaces, no actual code changes.
Todd C. Miller [Sun, 6 Jun 2004 23:58:10 +0000 (23:58 +0000)]
Remove trailing spaces, no actual code changes.
Todd C. Miller [Sun, 6 Jun 2004 23:58:09 +0000 (23:58 +0000)]
Remove trailing spaces, no actual code changes.
Todd C. Miller [Sun, 6 Jun 2004 20:22:56 +0000 (20:22 +0000)]
regen
Todd C. Miller [Sun, 6 Jun 2004 20:22:20 +0000 (20:22 +0000)]
Fix a >=0 that should be <0 that was improperly converted when UNSPEC was added.
Todd C. Miller [Sun, 6 Jun 2004 19:54:23 +0000 (19:54 +0000)]
Add do {} while(0) around pop macro
Set cmnd_matches to UNSPEC, not NOMATCH when resetting it.
Todd C. Miller [Sun, 6 Jun 2004 19:39:56 +0000 (19:39 +0000)]
Fix pastos introduced in SETNMATCH addition.
Todd C. Miller [Sat, 5 Jun 2004 17:55:58 +0000 (17:55 +0000)]
Update for configure changes
Todd C. Miller [Sat, 5 Jun 2004 17:42:16 +0000 (17:42 +0000)]
regen
Todd C. Miller [Sat, 5 Jun 2004 17:42:04 +0000 (17:42 +0000)]
Add NOMATCH and UNSPEC defines (-1 and -2 respectively) and use
these in parse.yacc. Also in parse.yacc initialize the *_matches
vars to UNSPEC and add two macros, SETMATCH and SETNMATCH for use
when setting *_matches to a value that may be NOMATCH/UNSPEC/TRUE/FALSE.
Todd C. Miller [Sat, 5 Jun 2004 17:42:04 +0000 (17:42 +0000)]
Add NOMATCH and UNSPEC defines (-1 and -2 respectively) and use
these in parse.yacc. Also in parse.yacc initialize the *_matches
vars to UNSPEC and add two macros, SETMATCH and SETNMATCH for use
when setting *_matches to a value that may be NOMATCH/UNSPEC/TRUE/FALSE.
Todd C. Miller [Sat, 5 Jun 2004 15:17:10 +0000 (15:17 +0000)]
Initialize runas to -2, not -1 since we need to be able to distinguish
between the initialized value and the value of a non-match when
passing along the runas value to multiple commands.
The result of this is that an unmatched runas is now set to -1, not 0.
This is required now that parse.c treats a FALSE value for runas as
being explicitly denied.
Todd C. Miller [Thu, 3 Jun 2004 20:21:07 +0000 (20:21 +0000)]
Error out if argc < 1.
Todd C. Miller [Thu, 3 Jun 2004 20:21:07 +0000 (20:21 +0000)]
Error out if argc < 1.
Todd C. Miller [Thu, 3 Jun 2004 16:37:32 +0000 (16:37 +0000)]
Add tests for what libs we need to link with for ldap and for whether
or not lber.h needs to be explicitly included.
Aaron Spangler [Thu, 3 Jun 2004 00:30:44 +0000 (00:30 +0000)]
Solaris native LDAP build fix
Todd C. Miller [Tue, 1 Jun 2004 20:56:52 +0000 (20:56 +0000)]
Set edn to NULL is ldap_get_dn() fails to avoid potential use of an unset
variable.
Todd C. Miller [Tue, 1 Jun 2004 20:56:03 +0000 (20:56 +0000)]
Add prototype for sudo_ldap_list_matches
Todd C. Miller [Tue, 1 Jun 2004 20:53:31 +0000 (20:53 +0000)]
Better check for dirfd macro--we now set HAVE_DIRFD for the macro version too.
Added check for dd_fd in `DIR' if no dirfd is found; this is now used to
confitionally define the dirfd macro in compat.h.
Todd C. Miller [Tue, 1 Jun 2004 20:53:31 +0000 (20:53 +0000)]
Better check for dirfd macro--we now set HAVE_DIRFD for the macro version too.
Added check for dd_fd in `DIR' if no dirfd is found; this is now used to
confitionally define the dirfd macro in compat.h.
Todd C. Miller [Tue, 1 Jun 2004 20:53:31 +0000 (20:53 +0000)]
Better check for dirfd macro--we now set HAVE_DIRFD for the macro version too.
Added check for dd_fd in `DIR' if no dirfd is found; this is now used to
confitionally define the dirfd macro in compat.h.
Todd C. Miller [Tue, 1 Jun 2004 20:51:56 +0000 (20:51 +0000)]
Only check /proc/$$/fd if we have the dirfd function/macro.
Todd C. Miller [Tue, 1 Jun 2004 19:13:37 +0000 (19:13 +0000)]
Add a check for a dirfd() function (like Linux) and add a dirfd
macro in compat.h if there is no dirfd() function or macro.
Todd C. Miller [Tue, 1 Jun 2004 18:59:28 +0000 (18:59 +0000)]
dirfd() is now defined in compat.h as needed.
Todd C. Miller [Tue, 1 Jun 2004 18:30:50 +0000 (18:30 +0000)]
Clarify closefrom() note.
Todd C. Miller [Tue, 1 Jun 2004 16:51:06 +0000 (16:51 +0000)]
When checking for a command in the directory, only copy the base dir once.
Todd C. Miller [Tue, 1 Jun 2004 16:44:14 +0000 (16:44 +0000)]
If there is a /proc/$$/fd directory, behave like the Solaris closefrom()
and only close the descriptors listed therein.
Todd C. Miller [Tue, 1 Jun 2004 16:23:32 +0000 (16:23 +0000)]
compat.h guarantees INT_MAX is defined.
Todd C. Miller [Tue, 1 Jun 2004 16:23:10 +0000 (16:23 +0000)]
Add definitions of OPEN_MAX and INT_MAX for those without it and remove
definition of RLIM_INFINITY (now unused).
Todd C. Miller [Tue, 1 Jun 2004 01:22:27 +0000 (01:22 +0000)]
Use PATH_MAX, not MAXPATHLEN since the former is standardized.
Todd C. Miller [Mon, 31 May 2004 23:18:39 +0000 (23:18 +0000)]
sync
Todd C. Miller [Mon, 31 May 2004 23:10:12 +0000 (23:10 +0000)]
Add some entries that were mailed in a while ago
Todd C. Miller [Mon, 31 May 2004 18:16:34 +0000 (18:16 +0000)]
o sysconf returns a long, not an int.
o check for negative return value from sysconf/getdtablesize and use
OPEN_MAX in this case.
o define OPEN_MAX to 256 for those without it (a fair guess...)
Todd C. Miller [Sun, 30 May 2004 16:25:19 +0000 (16:25 +0000)]
Mention change in parse order for RunAs entries.
Todd C. Miller [Sun, 30 May 2004 16:15:26 +0000 (16:15 +0000)]
regen
Todd C. Miller [Sat, 29 May 2004 22:29:42 +0000 (22:29 +0000)]
o --with-ldap now takes an optional dir as a parameter
o added check for ldap_initialize() and start_tls_s()
Todd C. Miller [Sat, 29 May 2004 18:54:53 +0000 (18:54 +0000)]
Fix some typos, word choice and formatting issues.
Todd C. Miller [Fri, 28 May 2004 22:06:50 +0000 (22:06 +0000)]
Use SA_INTERRUPT so SunOS works correctly, avoid stdio and just use read/write
as it is simpler.
Todd C. Miller [Fri, 28 May 2004 20:27:41 +0000 (20:27 +0000)]
Remove hack overriding cross-compiler check. It should no longer be needed.
Todd C. Miller [Fri, 28 May 2004 20:26:08 +0000 (20:26 +0000)]
Remove select() compat bits since we no longer use select().
Todd C. Miller [Fri, 28 May 2004 20:24:13 +0000 (20:24 +0000)]
Use alarm() instead of select() for the timeout for systems that don't
fully/properly implement select().
Todd C. Miller [Thu, 27 May 2004 23:14:43 +0000 (23:14 +0000)]
synbc
Todd C. Miller [Thu, 27 May 2004 23:12:37 +0000 (23:12 +0000)]
update
Todd C. Miller [Thu, 27 May 2004 23:12:02 +0000 (23:12 +0000)]
Deal with systems that have no way of setting the effective uid such as
nsr-tandem-nsk.
Todd C. Miller [Thu, 27 May 2004 23:01:39 +0000 (23:01 +0000)]
Define NO_SAVED_IDS if we don't find seteuid()
Todd C. Miller [Thu, 27 May 2004 22:21:47 +0000 (22:21 +0000)]
Add back check for setreuid() since NSK doesn't have it.
Todd C. Miller [Thu, 27 May 2004 19:57:53 +0000 (19:57 +0000)]
regen
Todd C. Miller [Thu, 27 May 2004 19:56:03 +0000 (19:56 +0000)]
sync
Todd C. Miller [Thu, 27 May 2004 19:56:03 +0000 (19:56 +0000)]
sync
Todd C. Miller [Thu, 27 May 2004 19:55:06 +0000 (19:55 +0000)]
In sudoers_lookup() return VALIDATE_NOT_OK if the runas user was
explicitly denied and the command matched. This fixes a long-standing
bug and makes:
foo machine = (ALL) /usr/bin/blah
foo machine = (!bar) /usr/bin/blah
equivalent to:
foo machine = (ALL, !bar) /usr/bin/blah
Todd C. Miller [Thu, 27 May 2004 19:52:50 +0000 (19:52 +0000)]
Clarify mail_noperm
Aaron Spangler [Thu, 20 May 2004 01:25:50 +0000 (01:25 +0000)]
Missing DESTDIR in make install for sudo_noexec.la
Todd C. Miller [Mon, 17 May 2004 22:33:01 +0000 (22:33 +0000)]
regen
Todd C. Miller [Mon, 17 May 2004 22:31:54 +0000 (22:31 +0000)]
sync
Todd C. Miller [Mon, 17 May 2004 22:31:35 +0000 (22:31 +0000)]
Remove fastboot/fasthalt (who still remembers these?) and add a minimal
sudoedit example.
Todd C. Miller [Mon, 17 May 2004 22:31:35 +0000 (22:31 +0000)]
Remove fastboot/fasthalt (who still remembers these?) and add a minimal
sudoedit example.
Todd C. Miller [Mon, 17 May 2004 22:21:15 +0000 (22:21 +0000)]
filesystem -> file system
Todd C. Miller [Mon, 17 May 2004 22:21:15 +0000 (22:21 +0000)]
filesystem -> file system
Todd C. Miller [Mon, 17 May 2004 22:21:15 +0000 (22:21 +0000)]
filesystem -> file system
Todd C. Miller [Mon, 17 May 2004 22:19:56 +0000 (22:19 +0000)]
Fix some minor typos and formatting goofs
Todd C. Miller [Mon, 17 May 2004 22:10:20 +0000 (22:10 +0000)]
regen