dom0/qrexec: use DEFAULT user feature of qrexec_daemon in policy parser

This commit is contained in:
Marek Marczykowski 2012-08-30 17:48:19 +02:00
parent 3f5a34f635
commit e6da68dae2

View File

@ -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