summaryrefslogtreecommitdiff
path: root/autoinstall/bootstrap/sudoers.txt
blob: 87fa4f5192b148d3c2260f638cb173d8197e6127 (plain)
1
2
3
4
5
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