ret = true;
break;
}
+ sudo_debug_printf(SUDO_DEBUG_INFO,
+ "%s: check user flag overrides time stamp", __func__);
/* FALLTHROUGH */
default:
* If the user is not changing uid/gid, no need for a password.
*/
if (!def_authenticate || user_is_exempt()) {
+ sudo_debug_printf(SUDO_DEBUG_INFO, "%s: %s", __func__,
+ !def_authenticate ? "authentication disabled" :
+ "user exempt from authentication");
ret = true;
goto done;
}
if (runas_privs == NULL && runas_limitprivs == NULL)
#endif
{
+ sudo_debug_printf(SUDO_DEBUG_INFO,
+ "%s: user running command as self", __func__);
ret = true;
goto done;
}
int rc;
debug_decl(parse_default_entry, SUDOERS_DEBUG_DEFAULTS)
+ sudo_debug_printf(SUDO_DEBUG_INFO, "%s: %s:%d %s=%s op=%d",
+ __func__, file, lineno, def->name, val ? val : "", op);
+
/*
* If no value specified, the boolean flag must be set for non-flags.
* Only flags and tuples support boolean "true".