summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Siraut <csiraut@entrouvert.com>2019-01-29 10:57:42 (GMT)
committerChristophe Siraut <csiraut@entrouvert.com>2019-01-29 13:22:29 (GMT)
commit781bc0256be67ae292500fda73a7bbecab3a1618 (patch)
tree5d70a858fec9ab30b97af2eee0679facb849f91c
parent3588e0cd452ea25f65efafbb3674b79c0d4b3145 (diff)
downloadeobuilder-781bc0256be67ae292500fda73a7bbecab3a1618.zip
eobuilder-781bc0256be67ae292500fda73a7bbecab3a1618.tar.gz
eobuilder-781bc0256be67ae292500fda73a7bbecab3a1618.tar.bz2
configure sudo for user eobuilder (#30166)
-rwxr-xr-xdebian/install1
-rw-r--r--debian/sudoers1
2 files changed, 2 insertions, 0 deletions
diff --git a/debian/install b/debian/install
index 8178574..c442263 100755
--- a/debian/install
+++ b/debian/install
@@ -1,2 +1,3 @@
#!/usr/bin/dh-exec
eobuilder.sh => usr/bin/eobuilder
+debian/sudoers => etc/sudoers.d/eobuilder
diff --git a/debian/sudoers b/debian/sudoers
new file mode 100644
index 0000000..9f47e53
--- /dev/null
+++ b/debian/sudoers
@@ -0,0 +1 @@
+eobuilder ALL=SETENV:NOPASSWD:/usr/sbin/cowbuilder,/usr/sbin/pbuilder