mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
If a command matches using an empty Runas_List (i.e. Runas_List is
present but empty) and the -u option was not specified, set runas_pw to user_pw instead of using runas_default. This is intended to be used in conjunction with the Solaris Privilege Set support for rules that grant privileges without changing the user.
This commit is contained in:
@@ -187,7 +187,7 @@ int hostlist_matches(struct member_list *);
|
||||
bool hostname_matches(char *, char *, char *);
|
||||
bool netgr_matches(char *, char *, char *, char *);
|
||||
bool no_aliases(void);
|
||||
int runaslist_matches(struct member_list *, struct member_list *);
|
||||
int runaslist_matches(struct member_list *, struct member_list *, struct member **, struct member **);
|
||||
int userlist_matches(struct passwd *, struct member_list *);
|
||||
bool usergr_matches(char *, char *, struct passwd *);
|
||||
bool userpw_matches(char *, char *, struct passwd *);
|
||||
|
Reference in New Issue
Block a user