Commit Graph

3281 Commits

Author SHA1 Message Date
Aaron Spangler
2ceb87bc56 Allow --with-ldap-conf-file option to override LDAP_CONF 2004-08-27 03:44:35 +00:00
Aaron Spangler
b7ea12521a cleanup debug message 2004-08-27 02:08:10 +00:00
Aaron Spangler
2d3b307b93 more config info 2004-08-26 23:29:05 +00:00
Todd C. Miller
f30ab72c44 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.
2004-08-24 18:01:14 +00:00
Todd C. Miller
badd06688f document HP's crippled compiler deficiency. 2004-08-21 18:33:16 +00:00
Todd C. Miller
1e46c4d26d Fix some thinkos in --with-editor and --with-env-editor descriptions.
Noticed by Norihiko Murase.
2004-08-21 18:25:46 +00:00
Todd C. Miller
a6ea92617c --with-noexec takes an optional PATH argument. 2004-08-21 18:20:38 +00:00
Todd C. Miller
65d6b278b4 document --with-noexec 2004-08-21 18:20:11 +00:00
Todd C. Miller
0c0dcf2e32 sync 2004-08-17 20:21:58 +00:00
Todd C. Miller
6acae1b3be Better warning message when sudoedit is unable to write to the
destination file.
2004-08-17 19:11:47 +00:00
Todd C. Miller
2218f78279 regen 2004-08-17 18:53:31 +00:00
Todd C. Miller
ecc1efce9f Don't italicize the string "sudoedit" 2004-08-17 18:53:16 +00:00
Todd C. Miller
ad4b66e0eb Mention GratiSoft. 2004-08-16 22:45:52 +00:00
Todd C. Miller
4bc46dc93f regen 2004-08-11 18:29:36 +00:00
Todd C. Miller
4f03e9180c Reset used_runas to FALSE when re-intializing the parser. 2004-08-11 18:29:10 +00:00
Todd C. Miller
45805aa2ba Correct OpenBSD mips support 2004-08-09 23:04:35 +00:00
Todd C. Miller
ef12124c99 Add OpenBSD/mips 2004-08-09 21:28:56 +00:00
Aaron Spangler
f625769426 More behavior notes 2004-08-07 03:43:24 +00:00
Aaron Spangler
aafff3c21b Updates on current behavior 2004-08-07 03:36:11 +00:00
Todd C. Miller
0ad6600cc0 =back does not take an indentlevel (makes no difference to formatted files). 2004-08-06 23:56:15 +00:00
Todd C. Miller
6f44518f3b =back does not take an indentlevel (makes no difference to formatted files). 2004-08-06 23:56:15 +00:00
Todd C. Miller
23c0e4ea1b new 2004-08-06 23:48:17 +00:00
Todd C. Miller
3c6bb6c79c Consistency. Use same error for bad -u #uid when targetpw is set
as we do when a bad -u username is specified.
2004-08-06 23:42:52 +00:00
Todd C. Miller
8013ece9b9 Add checksum idea from Steve Mancini 2004-08-06 23:33:05 +00:00
Todd C. Miller
1e9dcd837a regen 2004-08-06 23:32:31 +00:00
Todd C. Miller
95ef976528 regen 2004-08-06 23:32:31 +00:00
Todd C. Miller
bc1b9cb80d Document the restriction on uids specified via -u when targetpw is set. 2004-08-06 23:31:20 +00:00
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