summaryrefslogtreecommitdiffstats
path: root/src/os-plugins/plugins/vmchooser/XX_vmchooser.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/os-plugins/plugins/vmchooser/XX_vmchooser.sh')
-rw-r--r--src/os-plugins/plugins/vmchooser/XX_vmchooser.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os-plugins/plugins/vmchooser/XX_vmchooser.sh b/src/os-plugins/plugins/vmchooser/XX_vmchooser.sh
index 9fcc1c39..f86d96d3 100644
--- a/src/os-plugins/plugins/vmchooser/XX_vmchooser.sh
+++ b/src/os-plugins/plugins/vmchooser/XX_vmchooser.sh
@@ -87,8 +87,8 @@ ALL ALL=NOPASSWD: /sbin/mdadm -C /dev/md0 -l linear --raid-devices=2 /dev/loop*
ALL ALL=NOPASSWD: /opt/openslx/rootfs/usr/sbin/nbd-client * * /dev/nbd*
# allow to configure and start/stop samba services
ALL ALL=NOPASSWD: /opt/openslx/rootfs/bin/sed -i /etc/*/smb.conf -e *
-ALL ALL=NOPASSWD: /usr/sbin/nmbd -c /etc/*/smb.conf
-ALL ALL=NOPASSWD: /usr/sbin/smbd -c /etc/*/smb.conf
+ALL ALL=NOPASSWD: /usr/sbin/nmbd -s /etc/*/smb.conf
+ALL ALL=NOPASSWD: /usr/sbin/smbd -s /etc/*/smb.conf
ALL ALL=NOPASSWD: /opt/openslx/rootfs/usr/bin/killall nmbd smbd
EOF