aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bcd/templates
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bcd/templates')
-rw-r--r--modules/bcd/templates/sudoers.bcd6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/bcd/templates/sudoers.bcd b/modules/bcd/templates/sudoers.bcd
new file mode 100644
index 00000000..2c38fab5
--- /dev/null
+++ b/modules/bcd/templates/sudoers.bcd
@@ -0,0 +1,6 @@
+<%= bcd_login %> ALL=(root) NOPASSWD:/bin/mount, /bin/umount, \
+/usr/sbin/chroot, \
+/usr/sbin/urpmi, \
+/usr/sbin/urpmi.addmedia, \
+/usr/sbin/urpmi.removemedia, \
+/bin/rm