Return -1, not 0 from sudoers when there is an error (as opposed to
a policy denial).
This commit is contained in:
@@ -282,7 +282,7 @@ void dump_auth_methods(void);
|
||||
char *sudo_getepw(const struct passwd *);
|
||||
|
||||
/* sudo_nss.c */
|
||||
void display_privs(struct sudo_nss_list *, struct passwd *);
|
||||
bool display_privs(struct sudo_nss_list *, struct passwd *);
|
||||
bool display_cmnd(struct sudo_nss_list *, struct passwd *);
|
||||
|
||||
/* pwutil.c */
|
||||
|
Reference in New Issue
Block a user