From 29b801d42fc7aeee4f40098e3ee0159e9897c4c0 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Mon, 24 Dec 2012 21:58:51 +0100 Subject: [PATCH] Fix sudo bug --- installer/slave/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/slave/install.py b/installer/slave/install.py index 2154bf1..a64b499 100644 --- a/installer/slave/install.py +++ b/installer/slave/install.py @@ -259,7 +259,7 @@ sudoers = open("/etc/sudoers", "a") sudoers.write("cvm ALL = (root) NOPASSWD: /home/cvm/logshell, NOPASSWD: /usr/sbin/vzctl, NOPASSWD: /usr/sbin/vzlist, NOPASSWD: /home/cvm/logcmd\n") if enable_dropper == "y": - sudoers.write("vz ALL = (root) NOPASSWD: /usr/sbin/vzctl enter\n") + sudoers.write("vz ALL = (root) NOPASSWD: /usr/sbin/vzctl enter *\n") sudoers.close()