mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 06:15:37 +00:00
Add support for parsing an empty Runas_List, which only allows the
command to be run as the invoking user. This can be used in conjunction with the Solaris Privilege Set support to grant privileges without changing the user.
This commit is contained in:
@@ -650,6 +650,9 @@ _print_member(struct lbuf *lbuf, char *name, int type, int negated,
|
||||
case ALL:
|
||||
lbuf_append(lbuf, "%sALL", negated ? "!" : "");
|
||||
break;
|
||||
case MYSELF:
|
||||
lbuf_append(lbuf, "%s%s", negated ? "!" : "", user_name);
|
||||
break;
|
||||
case COMMAND:
|
||||
c = (struct sudo_command *) name;
|
||||
if (negated)
|
||||
|
Reference in New Issue
Block a user