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
Todd C. Miller
713e419fe9
Remove trailing spaces, no actual code changes.
2004-06-06 23:58:11 +00:00
Todd C. Miller
2154e5f092
Remove trailing spaces, no actual code changes.
2004-06-06 23:58:10 +00:00
Todd C. Miller
7ed41967ab
Remove trailing spaces, no actual code changes.
2004-06-06 23:58:10 +00:00
Todd C. Miller
362d6f4eb6
Remove trailing spaces, no actual code changes.
2004-06-06 23:58:10 +00:00
Todd C. Miller
ba803b6e1b
Remove trailing spaces, no actual code changes.
2004-06-06 23:58:09 +00:00
Todd C. Miller
983bdcb223
regen
2004-06-06 20:22:56 +00:00
Todd C. Miller
318cd646fe
Fix a >=0 that should be <0 that was improperly converted when UNSPEC was added.
2004-06-06 20:22:20 +00:00
Todd C. Miller
4e73e5c38c
Add do {} while(0) around pop macro
...
Set cmnd_matches to UNSPEC, not NOMATCH when resetting it.
2004-06-06 19:54:23 +00:00
Todd C. Miller
a5c99554d4
Fix pastos introduced in SETNMATCH addition.
2004-06-06 19:39:56 +00:00
Todd C. Miller
2aa69afaa2
Update for configure changes
2004-06-05 17:55:58 +00:00
Todd C. Miller
f8e2108d41
regen
2004-06-05 17:42:16 +00:00
Todd C. Miller
a99f53e2fa
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.
2004-06-05 17:42:04 +00:00
Todd C. Miller
46e37d41a9
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.
2004-06-05 17:42:04 +00:00
Todd C. Miller
385372b4d7
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.
2004-06-05 15:17:10 +00:00
Todd C. Miller
3e1e279d21
Error out if argc < 1.
2004-06-03 20:21:07 +00:00
Todd C. Miller
46fa001640
Error out if argc < 1.
2004-06-03 20:21:07 +00:00
Todd C. Miller
24dd77986d
Add tests for what libs we need to link with for ldap and for whether
...
or not lber.h needs to be explicitly included.
2004-06-03 16:37:32 +00:00
Aaron Spangler
1158691104
Solaris native LDAP build fix
2004-06-03 00:30:44 +00:00
Todd C. Miller
23da57f9fe
Set edn to NULL is ldap_get_dn() fails to avoid potential use of an unset
...
variable.
2004-06-01 20:56:52 +00:00
Todd C. Miller
03d1a9ed49
Add prototype for sudo_ldap_list_matches
2004-06-01 20:56:03 +00:00
Todd C. Miller
e009af0c9c
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.
2004-06-01 20:53:31 +00:00
Todd C. Miller
610da19a89
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.
2004-06-01 20:53:31 +00:00
Todd C. Miller
330d2ff424
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.
2004-06-01 20:53:31 +00:00
Todd C. Miller
cebfa4c030
Only check /proc/$$/fd if we have the dirfd function/macro.
2004-06-01 20:51:56 +00:00
Todd C. Miller
54cb0921de
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.
2004-06-01 19:13:37 +00:00
Todd C. Miller
a79bb72689
dirfd() is now defined in compat.h as needed.
2004-06-01 18:59:28 +00:00