Use log_warning() not log_fatal() for the "Invalid authentication
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 7 Apr 2014 14:59:48 +0000 (08:59 -0600)
committerTodd 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

index 94d17779ade65d4080c6d90ef197cb97822c3e53..0b30a8a858df9aaed28035296cd4a89e0ed6e48b 100644 (file)
@@ -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);
     }