version 1.25, 2005/05/31 21:13:43 |
version 1.26, 2005/06/19 22:00:08 |
|
|
/* Validate the user but don't search for pseudo-commands. */ |
/* Validate the user but don't search for pseudo-commands. */ |
validated = sudoers_lookup(pwflag); |
validated = sudoers_lookup(pwflag); |
} |
} |
|
if (safe_cmnd == NULL) |
|
safe_cmnd = user_cmnd; |
|
|
/* |
/* |
* If we are using set_perms_posix() and the stay_setuid flag was not set, |
* If we are using set_perms_posix() and the stay_setuid flag was not set, |
|
|
sudo_ldap_list_matches(); |
sudo_ldap_list_matches(); |
#endif |
#endif |
exit(0); |
exit(0); |
} |
|
|
|
/* This *must* have been set if we got a match but... */ |
|
if (safe_cmnd == NULL) { |
|
log_error(MSG_ONLY, |
|
"internal error, safe_cmnd never got set for %s; %s", |
|
user_cmnd, |
|
"please report this error at http://courtesan.com/sudo/bugs/"); |
|
} |
} |
|
|
/* Override user's umask if configured to do so. */ |
/* Override user's umask if configured to do so. */ |