aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2017-02-22 15:28:37 +0100
committerRonan Le Martret <ronan.lemartret@iot.bzh>2017-02-22 15:28:37 +0100
commit9dfa508e82b73b802d73bd15e6375c202044884d (patch)
treecd0f86cbe8ce7b616f340398697af1dd4ef76c6c /INSTALL
parentb7c4479e38c5c1b69918ff539eebf7b66d4334a8 (diff)
Fixed interactive sudo for devel
* no sudo password needed any more for user devel. Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL/config/sudo_devel1
-rw-r--r--INSTALL/setup.d/10_base2
2 files changed, 3 insertions, 0 deletions
diff --git a/INSTALL/config/sudo_devel b/INSTALL/config/sudo_devel
new file mode 100644
index 0000000..8f63114
--- /dev/null
+++ b/INSTALL/config/sudo_devel
@@ -0,0 +1 @@
+devel ALL=NOPASSWD: ALL
diff --git a/INSTALL/setup.d/10_base b/INSTALL/setup.d/10_base
index 26bbf1b..fddd75b 100644
--- a/INSTALL/setup.d/10_base
+++ b/INSTALL/setup.d/10_base
@@ -24,6 +24,8 @@ rm -f /lib/systemd/system/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount
cp $INSTDIR/config/bashrc /etc/skel/.bash_aliases # sourced by .bashrc for new users
+cp $INSTDIR/config/sudo_devel /etc/sudoers.d/sudo_devel # Allow sudo without password
+
# copy files for root account (already created)
find /etc/skel -type f -exec cp -av {} /root \;