diff options
Diffstat (limited to 'autoinstall/bootstrap/sudoers.txt')
-rw-r--r-- | autoinstall/bootstrap/sudoers.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/autoinstall/bootstrap/sudoers.txt b/autoinstall/bootstrap/sudoers.txt new file mode 100644 index 0000000..87fa4f5 --- /dev/null +++ b/autoinstall/bootstrap/sudoers.txt @@ -0,0 +1,6 @@ +#!/bin/bash + +# Add kolab user to sudo group and give sudo permissions without password +gpasswd -a kolab sudo +sed -r -i -e 's/%sudo.*$/%sudo ALL=(ALL) NOPASSWD: ALL/g' /etc/sudoers + |