diff options
author | Todd C. Miller <Todd.Miller@courtesan.com> | 1999-08-19 16:30:09 +0000 |
---|---|---|
committer | Todd C. Miller <Todd.Miller@courtesan.com> | 1999-08-19 16:30:09 +0000 |
commit | 92094b4140c31d524d91aa6152ee6807c9ccac8e (patch) | |
tree | d64723d8ed6f14a9e638a85372ede7fef5cdc468 /config.h.in | |
parent | 87a0064777ffb845d141e6a8d33f28a6404bf4c3 (diff) | |
download | sudo-92094b4140c31d524d91aa6152ee6807c9ccac8e.tar.gz |
sudoers_lookup() now returns a bitmap instead of an int. This makes it
possible to express things like "failed to validate because user not listed
for this host". Some thigns that were previously VALIDATE_FOO are now
FLAG_FOO. This may change later on.
Reorganized code in log_auth() and sudo.c to deal with above changes.
Safer versions of push/pushcp with in the do { ... } while (0) style
parse.yacc now saves info on the stack to allow parse.c to determine
if a user was listed, but not for the host he/she tried to run on.
Added --with-mail-if-no-host option
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in index 2b3f7dbc6..6dc9b4331 100644 --- a/config.h.in +++ b/config.h.in @@ -453,6 +453,9 @@ /* Define SEND_MAIL_WHEN_NO_USER to send mail when user not in sudoers file */ #undef SEND_MAIL_WHEN_NO_USER +/* Define SEND_MAIL_WHEN_NO_HOST to send mail when not allowed on this host */ +#undef SEND_MAIL_WHEN_NO_HOST + /* Define SEND_MAIL_WHEN_NOT_OK to send mail when not allowed to run command */ #undef SEND_MAIL_WHEN_NOT_OK |