projects
/
sudo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a290f8
)
Use log_warning() not log_fatal() for the "Invalid authentication
author
Todd C. Miller
<Todd.Miller@courtesan.com>
Mon, 7 Apr 2014 14:59:48 +0000
(08:59 -0600)
committer
Todd C. Miller
<Todd.Miller@courtesan.com>
Mon, 7 Apr 2014 14:59:48 +0000
(08:59 -0600)
methods compiled into sudo" message. We return -1 on error anyway.
plugins/sudoers/auth/sudo_auth.c
patch
|
blob
|
history
diff --git
a/plugins/sudoers/auth/sudo_auth.c
b/plugins/sudoers/auth/sudo_auth.c
index 94d17779ade65d4080c6d90ef197cb97822c3e53..0b30a8a858df9aaed28035296cd4a89e0ed6e48b 100644
(file)
--- a/
plugins/sudoers/auth/sudo_auth.c
+++ b/
plugins/sudoers/auth/sudo_auth.c
@@
-117,7
+117,7
@@
sudo_auth_init(struct passwd *pw)
standalone = IS_STANDALONE(&auth_switch[0]);
if (standalone && auth_switch[1].name != NULL) {
audit_failure(NewArgv, N_("invalid authentication methods"));
- log_
fatal
(0, N_("Invalid authentication methods compiled into sudo! "
+ log_
warning
(0, N_("Invalid authentication methods compiled into sudo! "
"You may not mix standalone and non-standalone authentication."));
debug_return_int(-1);
}