Commit Graph

3304 Commits

Author SHA1 Message Date
Todd C. Miller
252093fa60 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!
2004-08-06 23:24:41 +00:00
Todd C. Miller
e41a38e38c regen 2004-08-06 01:16:29 +00:00
Todd C. Miller
e2bc02a1de Some more todo for the next release. 2004-08-06 01:14:00 +00:00
Todd C. Miller
15222dbc1d Make it clear that PAM should be used for DCE support when possible. 2004-08-06 01:13:43 +00:00
Todd C. Miller
14be1c37d0 o Document problems with wildcards and relative paths.
o Make the order requirements more prominent.
o Change a "set" to "reset" for clarity.
2004-08-06 01:13:01 +00:00
Todd C. Miller
0adaed9c92 Mention --with-secure-path, not SECURE_PATH. 2004-08-05 18:29:55 +00:00
Aaron Spangler
02381e4c26 reflect changes to parse.c 2004-08-03 02:34:20 +00:00
Todd C. Miller
bf4f5913d7 regen 2004-08-02 18:45:31 +00:00
Todd C. Miller
1a46dd74f6 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.
2004-08-02 18:44:58 +00:00
Todd C. Miller
600e9e3942 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.
2004-08-02 18:44:58 +00:00
Todd C. Miller
98fb553875 Fix a bug introduced in rev. 1.149. When checking for pseudo-commands
check for a '/' anywhere in cmnd, not just the first character.
2004-08-02 18:40:39 +00:00
Aaron Spangler
5f3d569e35 Clarification thanks to Olivier Blin <oblin@mandrakesoft.com> 2004-07-31 03:07:20 +00:00
Aaron Spangler
ed8a3eeedc Add ignore_local_sudoers 2004-07-31 02:41:42 +00:00
Aaron Spangler
d634a4e46a Sun One schema definition by Andreas.Bussjaeger@t-systems.com and janth@moldung.no 2004-07-31 02:06:37 +00:00
Todd C. Miller
44b6e87c9c typo 2004-07-29 15:57:02 +00:00
Todd C. Miller
e8aa171074 sync 2004-07-23 20:44:09 +00:00
Todd C. Miller
8ce996770c Parse sudoers file as PERM_RUNAS not PERM_ROOT and remove a useless
PERM_SUDOERS.  Restore to PERM_ROOT upon exit of the parse.
2004-07-23 20:43:09 +00:00
Todd C. Miller
8573f78c95 PAM change 2004-07-08 14:20:09 +00:00
Aaron Spangler
921f746138 Better debugging of ALL command 2004-07-08 01:04:50 +00:00
Todd C. Miller
a6fe34784a When matching for "sudoedit" in sudoers check both the command the user
typed *and* the command that is listed in the sudoers entry.
2004-07-08 00:15:37 +00:00
Aaron Spangler
5e8d3f8f26 Added !command feature 2004-07-04 23:59:27 +00:00
Todd C. Miller
529d2d200e Use pam_acct_mgmt() to check for disabled accounts; Brian Farrell 2004-06-28 14:51:50 +00:00
Todd C. Miller
15fc7f686d License is ISC-style, not BSD-style 2004-06-11 03:11:27 +00:00
Todd C. Miller
3e4144b0a4 sync 2004-06-11 00:58:29 +00:00
Todd C. Miller
5f7943db50 regen 2004-06-10 20:54:25 +00:00
Todd C. Miller
18dae902b2 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"
2004-06-10 20:53:03 +00:00
Todd C. Miller
31f98d84df Don't ask for a password if invoking user == target user. 2004-06-10 20:19:38 +00:00
Todd C. Miller
20815542a9 typo in comment 2004-06-10 16:32:59 +00:00
Todd C. Miller
ceb351fd99 regen 2004-06-08 23:20:11 +00:00
Todd C. Miller
fc1dea2ed3 Expand on NOEXEC a little. 2004-06-08 23:19:48 +00:00
Todd C. Miller
bf8eb4bcaf sync 2004-06-08 20:20:22 +00:00
Todd C. Miller
88828092cb regen 2004-06-08 19:58:08 +00:00
Todd C. Miller
2087367461 regen 2004-06-08 19:56:01 +00:00
Todd C. Miller
906c12c753 Add a check in visudo for runas_default being set after it has already
been used.
2004-06-08 19:55:53 +00:00
Todd C. Miller
ce1b21d42c Add a check in visudo for runas_default being set after it has already
been used.
2004-06-08 19:55:53 +00:00
Todd C. Miller
517d8af5e2 regen 2004-06-08 17:54:05 +00:00
Todd C. Miller
13b0c693d2 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.
2004-06-08 17:53:52 +00:00
Todd C. Miller
34288539a9 regen 2004-06-07 00:12:23 +00:00
Todd C. Miller
62732558c3 regen 2004-06-07 00:11:15 +00:00
Todd C. Miller
213a92e2fa Correct description of where Defaults specs should go. 2004-06-07 00:07:35 +00:00
Todd C. Miller
f5b70b6b25 Correct description of where Defaults specs should go. 2004-06-07 00:07:35 +00:00
Todd C. Miller
c01dbab988 update (c) year 2004-06-07 00:02:56 +00:00
Todd C. Miller
f9b934d8a5 update (c) year 2004-06-07 00:02:56 +00:00
Todd C. Miller
ed7aee0e2f update (c) year 2004-06-07 00:02:56 +00:00
Todd C. Miller
1273bf2573 update (c) year 2004-06-07 00:02:56 +00:00
Todd C. Miller
ecdfa6373f update (c) year 2004-06-07 00:02:56 +00:00
Todd C. Miller
8268535ccc update (c) year 2004-06-07 00:02:56 +00:00
Todd C. Miller
0543ced785 regen 2004-06-06 23:58:35 +00:00
Todd C. Miller
77791e7ab3 Remove trailing spaces, no actual code changes. 2004-06-06 23:58:15 +00:00
Todd C. Miller
806fac8892 Remove trailing spaces, no actual code changes. 2004-06-06 23:58:11 +00:00