dom0/qrexec: use DEFAULT user feature of qrexec_daemon in policy parser
This commit is contained in:
parent
3f5a34f635
commit
e6da68dae2
@ -174,7 +174,7 @@ def main():
|
|||||||
if policy_dict.has_key("action.user"):
|
if policy_dict.has_key("action.user"):
|
||||||
user=policy_dict["action.user"]
|
user=policy_dict["action.user"]
|
||||||
else:
|
else:
|
||||||
user="user"
|
user="DEFAULT"
|
||||||
do_execute(domain, target, user, exec_index, process_ident)
|
do_execute(domain, target, user, exec_index, process_ident)
|
||||||
|
|
||||||
print >> sys.stderr, "Rpc denied:", domain, target, exec_index
|
print >> sys.stderr, "Rpc denied:", domain, target, exec_index
|
||||||
|
Loading…
Reference in New Issue
Block a user