]> granicus.if.org Git - sudo/log
sudo
20 years agoNo need for -lcrypt when using pam.
Todd C. Miller [Sun, 29 Aug 2004 15:39:31 +0000 (15:39 +0000)]
No need for -lcrypt when using pam.

20 years agoregen
Todd C. Miller [Fri, 27 Aug 2004 03:57:19 +0000 (03:57 +0000)]
regen

20 years agoAllow --with-ldap-conf-file option to override LDAP_CONF
Aaron Spangler [Fri, 27 Aug 2004 03:44:35 +0000 (03:44 +0000)]
Allow --with-ldap-conf-file option to override LDAP_CONF

20 years agocleanup debug message
Aaron Spangler [Fri, 27 Aug 2004 02:08:10 +0000 (02:08 +0000)]
cleanup debug message

20 years agomore config info
Aaron Spangler [Thu, 26 Aug 2004 23:29:05 +0000 (23:29 +0000)]
more config info

20 years agoAdd cmnd_base to struct sudo_user and set it in init_vars().
Todd C. Miller [Tue, 24 Aug 2004 18:01:14 +0000 (18:01 +0000)]
Add cmnd_base to struct sudo_user and set it in init_vars().
Add cmnd_stat to struct sudo_user and set it in sudo_goodpath().
No longer use gross statics in command_matches().
Also rename some variables for improved clarity.

20 years agodocument HP's crippled compiler deficiency.
Todd C. Miller [Sat, 21 Aug 2004 18:33:16 +0000 (18:33 +0000)]
document HP's crippled compiler deficiency.

20 years agoFix some thinkos in --with-editor and --with-env-editor descriptions.
Todd C. Miller [Sat, 21 Aug 2004 18:25:46 +0000 (18:25 +0000)]
Fix some thinkos in --with-editor and --with-env-editor descriptions.
Noticed by Norihiko Murase.

20 years ago--with-noexec takes an optional PATH argument.
Todd C. Miller [Sat, 21 Aug 2004 18:20:38 +0000 (18:20 +0000)]
--with-noexec takes an optional PATH argument.

20 years agodocument --with-noexec
Todd C. Miller [Sat, 21 Aug 2004 18:20:11 +0000 (18:20 +0000)]
document --with-noexec

20 years agosync SUDO_1_6_8
Todd C. Miller [Tue, 17 Aug 2004 20:21:58 +0000 (20:21 +0000)]
sync

20 years agoBetter warning message when sudoedit is unable to write to the
Todd C. Miller [Tue, 17 Aug 2004 19:11:47 +0000 (19:11 +0000)]
Better warning message when sudoedit is unable to write to the
destination file.

20 years agoregen
Todd C. Miller [Tue, 17 Aug 2004 18:53:31 +0000 (18:53 +0000)]
regen

20 years agoDon't italicize the string "sudoedit"
Todd C. Miller [Tue, 17 Aug 2004 18:53:16 +0000 (18:53 +0000)]
Don't italicize the string "sudoedit"

20 years agoMention GratiSoft.
Todd C. Miller [Mon, 16 Aug 2004 22:45:52 +0000 (22:45 +0000)]
Mention GratiSoft.

20 years agoregen
Todd C. Miller [Wed, 11 Aug 2004 18:29:36 +0000 (18:29 +0000)]
regen

20 years agoReset used_runas to FALSE when re-intializing the parser.
Todd C. Miller [Wed, 11 Aug 2004 18:29:10 +0000 (18:29 +0000)]
Reset used_runas to FALSE when re-intializing the parser.

20 years agoCorrect OpenBSD mips support
Todd C. Miller [Mon, 9 Aug 2004 23:04:35 +0000 (23:04 +0000)]
Correct OpenBSD mips support

20 years agoAdd OpenBSD/mips
Todd C. Miller [Mon, 9 Aug 2004 21:28:56 +0000 (21:28 +0000)]
Add OpenBSD/mips

20 years agoMore behavior notes
Aaron Spangler [Sat, 7 Aug 2004 03:43:24 +0000 (03:43 +0000)]
More behavior notes

20 years agoUpdates on current behavior
Aaron Spangler [Sat, 7 Aug 2004 03:36:11 +0000 (03:36 +0000)]
Updates on current behavior

20 years ago=back does not take an indentlevel (makes no difference to formatted files).
Todd C. Miller [Fri, 6 Aug 2004 23:56:15 +0000 (23:56 +0000)]
=back does not take an indentlevel (makes no difference to formatted files).

20 years ago=back does not take an indentlevel (makes no difference to formatted files).
Todd C. Miller [Fri, 6 Aug 2004 23:56:15 +0000 (23:56 +0000)]
=back does not take an indentlevel (makes no difference to formatted files).

20 years agonew
Todd C. Miller [Fri, 6 Aug 2004 23:48:17 +0000 (23:48 +0000)]
new

20 years agoConsistency. Use same error for bad -u #uid when targetpw is set
Todd C. Miller [Fri, 6 Aug 2004 23:42:52 +0000 (23:42 +0000)]
Consistency.  Use same error for bad -u #uid when targetpw is set
as we do when a bad -u username is specified.

20 years agoAdd checksum idea from Steve Mancini
Todd C. Miller [Fri, 6 Aug 2004 23:33:05 +0000 (23:33 +0000)]
Add checksum idea from Steve Mancini

20 years agoregen
Todd C. Miller [Fri, 6 Aug 2004 23:32:31 +0000 (23:32 +0000)]
regen

20 years agoregen
Todd C. Miller [Fri, 6 Aug 2004 23:32:31 +0000 (23:32 +0000)]
regen

20 years agoDocument the restriction on uids specified via -u when targetpw is set.
Todd C. Miller [Fri, 6 Aug 2004 23:31:20 +0000 (23:31 +0000)]
Document the restriction on uids specified via -u when targetpw is set.

20 years agoError out when targetpw is enabled and sudo is run with -u #uid but
Todd C. Miller [Fri, 6 Aug 2004 23:24:41 +0000 (23:24 +0000)]
Error out when targetpw is enabled and sudo is run with -u #uid but
#uid does not exist in the passwd database.  We can't do target
authentication when the target is not in passwd!

20 years agoregen
Todd C. Miller [Fri, 6 Aug 2004 01:16:29 +0000 (01:16 +0000)]
regen

20 years agoSome more todo for the next release.
Todd C. Miller [Fri, 6 Aug 2004 01:14:00 +0000 (01:14 +0000)]
Some more todo for the next release.

20 years agoMake it clear that PAM should be used for DCE support when possible.
Todd C. Miller [Fri, 6 Aug 2004 01:13:43 +0000 (01:13 +0000)]
Make it clear that PAM should be used for DCE support when possible.

20 years agoo Document problems with wildcards and relative paths.
Todd C. Miller [Fri, 6 Aug 2004 01:13:01 +0000 (01:13 +0000)]
o Document problems with wildcards and relative paths.
o Make the order requirements more prominent.
o Change a "set" to "reset" for clarity.

20 years agoMention --with-secure-path, not SECURE_PATH.
Todd C. Miller [Thu, 5 Aug 2004 18:29:55 +0000 (18:29 +0000)]
Mention --with-secure-path, not SECURE_PATH.

20 years agoreflect changes to parse.c
Aaron Spangler [Tue, 3 Aug 2004 02:34:20 +0000 (02:34 +0000)]
reflect changes to parse.c

20 years agoregen
Todd C. Miller [Mon, 2 Aug 2004 18:45:31 +0000 (18:45 +0000)]
regen

20 years agoDon't pass user_cmnd and user_args to command_matches(), just use
Todd C. Miller [Mon, 2 Aug 2004 18:44:58 +0000 (18:44 +0000)]
Don't pass user_cmnd and user_args to command_matches(), just use
the globals there.  Since we keep state with statics anyway it is
misleading to pretend that passing in different cmnd and cmnd_args
will work.

20 years agoDon't pass user_cmnd and user_args to command_matches(), just use
Todd C. Miller [Mon, 2 Aug 2004 18:44:58 +0000 (18:44 +0000)]
Don't pass user_cmnd and user_args to command_matches(), just use
the globals there.  Since we keep state with statics anyway it is
misleading to pretend that passing in different cmnd and cmnd_args
will work.

20 years agoFix a bug introduced in rev. 1.149. When checking for pseudo-commands
Todd C. Miller [Mon, 2 Aug 2004 18:40:39 +0000 (18:40 +0000)]
Fix a bug introduced in rev. 1.149.  When checking for pseudo-commands
check for a '/' anywhere in cmnd, not just the first character.

20 years agoClarification thanks to Olivier Blin <oblin@mandrakesoft.com>
Aaron Spangler [Sat, 31 Jul 2004 03:07:20 +0000 (03:07 +0000)]
Clarification thanks to Olivier Blin <oblin@mandrakesoft.com>

20 years agoAdd ignore_local_sudoers
Aaron Spangler [Sat, 31 Jul 2004 02:41:42 +0000 (02:41 +0000)]
Add ignore_local_sudoers

20 years agoSun One schema definition by Andreas.Bussjaeger@t-systems.com and janth@moldung.no
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

20 years agotypo
Todd C. Miller [Thu, 29 Jul 2004 15:57:02 +0000 (15:57 +0000)]
typo

20 years agosync
Todd C. Miller [Fri, 23 Jul 2004 20:44:09 +0000 (20:44 +0000)]
sync

20 years agoParse sudoers file as PERM_RUNAS not PERM_ROOT and remove a useless
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.

20 years agoPAM change
Todd C. Miller [Thu, 8 Jul 2004 14:20:09 +0000 (14:20 +0000)]
PAM change

20 years agoBetter debugging of ALL command
Aaron Spangler [Thu, 8 Jul 2004 01:04:50 +0000 (01:04 +0000)]
Better debugging of ALL command

20 years agoWhen matching for "sudoedit" in sudoers check both the command the user
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.

20 years agoAdded !command feature
Aaron Spangler [Sun, 4 Jul 2004 23:59:27 +0000 (23:59 +0000)]
Added !command feature

20 years agoUse pam_acct_mgmt() to check for disabled accounts; Brian Farrell
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

20 years agoLicense is ISC-style, not BSD-style
Todd C. Miller [Fri, 11 Jun 2004 03:11:27 +0000 (03:11 +0000)]
License is ISC-style, not BSD-style

20 years agosync
Todd C. Miller [Fri, 11 Jun 2004 00:58:29 +0000 (00:58 +0000)]
sync

20 years agoregen
Todd C. Miller [Thu, 10 Jun 2004 20:54:25 +0000 (20:54 +0000)]
regen

20 years agoo Update some out of date bits to reality
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"

20 years agoDon't ask for a password if invoking user == target user.
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.

20 years agotypo in comment
Todd C. Miller [Thu, 10 Jun 2004 16:32:59 +0000 (16:32 +0000)]
typo in comment

20 years agoregen
Todd C. Miller [Tue, 8 Jun 2004 23:20:11 +0000 (23:20 +0000)]
regen

20 years agoExpand on NOEXEC a little.
Todd C. Miller [Tue, 8 Jun 2004 23:19:48 +0000 (23:19 +0000)]
Expand on NOEXEC a little.

20 years agosync
Todd C. Miller [Tue, 8 Jun 2004 20:20:22 +0000 (20:20 +0000)]
sync

20 years agoregen
Todd C. Miller [Tue, 8 Jun 2004 19:58:08 +0000 (19:58 +0000)]
regen

20 years agoregen
Todd C. Miller [Tue, 8 Jun 2004 19:56:01 +0000 (19:56 +0000)]
regen

20 years agoAdd a check in visudo for runas_default being set after it has already
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.

20 years agoAdd a check in visudo for runas_default being set after it has already
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.

20 years agoregen
Todd C. Miller [Tue, 8 Jun 2004 17:54:05 +0000 (17:54 +0000)]
regen

20 years agoAdd a MATCHED macro for testing whether foo_matches has been set to
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.

20 years agoregen
Todd C. Miller [Mon, 7 Jun 2004 00:12:23 +0000 (00:12 +0000)]
regen

20 years agoregen
Todd C. Miller [Mon, 7 Jun 2004 00:11:15 +0000 (00:11 +0000)]
regen

20 years agoCorrect 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.

20 years agoCorrect 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.

20 years agoupdate (c) year
Todd C. Miller [Mon, 7 Jun 2004 00:02:56 +0000 (00:02 +0000)]
update (c) year

20 years agoupdate (c) year
Todd C. Miller [Mon, 7 Jun 2004 00:02:56 +0000 (00:02 +0000)]
update (c) year

20 years agoupdate (c) year
Todd C. Miller [Mon, 7 Jun 2004 00:02:56 +0000 (00:02 +0000)]
update (c) year

20 years agoupdate (c) year
Todd C. Miller [Mon, 7 Jun 2004 00:02:56 +0000 (00:02 +0000)]
update (c) year

20 years agoupdate (c) year
Todd C. Miller [Mon, 7 Jun 2004 00:02:56 +0000 (00:02 +0000)]
update (c) year

20 years agoupdate (c) year
Todd C. Miller [Mon, 7 Jun 2004 00:02:56 +0000 (00:02 +0000)]
update (c) year

20 years agoregen
Todd C. Miller [Sun, 6 Jun 2004 23:58:35 +0000 (23:58 +0000)]
regen

20 years agoRemove trailing spaces, no actual code changes.
Todd C. Miller [Sun, 6 Jun 2004 23:58:15 +0000 (23:58 +0000)]
Remove trailing spaces, no actual code changes.

20 years agoRemove 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.

20 years agoRemove 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.

20 years agoRemove 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.

20 years agoRemove 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.

20 years agoRemove 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.

20 years agoRemove 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.

20 years agoregen
Todd C. Miller [Sun, 6 Jun 2004 20:22:56 +0000 (20:22 +0000)]
regen

20 years agoFix a >=0 that should be <0 that was improperly converted when UNSPEC was added.
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.

20 years agoAdd do {} while(0) around pop macro
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.

20 years agoFix pastos introduced in SETNMATCH addition.
Todd C. Miller [Sun, 6 Jun 2004 19:39:56 +0000 (19:39 +0000)]
Fix pastos introduced in SETNMATCH addition.

20 years agoUpdate for configure changes
Todd C. Miller [Sat, 5 Jun 2004 17:55:58 +0000 (17:55 +0000)]
Update for configure changes

20 years agoregen
Todd C. Miller [Sat, 5 Jun 2004 17:42:16 +0000 (17:42 +0000)]
regen

20 years agoAdd NOMATCH and UNSPEC defines (-1 and -2 respectively) and use
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.

20 years agoAdd NOMATCH and UNSPEC defines (-1 and -2 respectively) and use
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.

20 years agoInitialize runas to -2, not -1 since we need to be able to distinguish
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.

20 years agoError out if argc < 1.
Todd C. Miller [Thu, 3 Jun 2004 20:21:07 +0000 (20:21 +0000)]
Error out if argc < 1.

20 years agoError out if argc < 1.
Todd C. Miller [Thu, 3 Jun 2004 20:21:07 +0000 (20:21 +0000)]
Error out if argc < 1.

20 years agoAdd tests for what libs we need to link with for ldap and for whether
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.

20 years agoSolaris native LDAP build fix
Aaron Spangler [Thu, 3 Jun 2004 00:30:44 +0000 (00:30 +0000)]
Solaris native LDAP build fix

20 years agoSet edn to NULL is ldap_get_dn() fails to avoid potential use of an unset
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.

20 years agoAdd prototype for sudo_ldap_list_matches
Todd C. Miller [Tue, 1 Jun 2004 20:56:03 +0000 (20:56 +0000)]
Add prototype for sudo_ldap_list_matches

20 years agoBetter check for dirfd macro--we now set HAVE_DIRFD for the macro version too.
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.