discomfitor pushed a commit to branch master.

http://git.enlightenment.org/misc/entrance.git/commit/?id=f0fe68f8adfdd22844b4275e504156c15deefcf2

commit f0fe68f8adfdd22844b4275e504156c15deefcf2
Author: Mike Blumenkrantz <[email protected]>
Date:   Mon May 5 00:54:54 2014 -0400

    add sudoers file to unset requiretty for entrance_client
    
    I'm not sure installing this automatically is the best option, but I think 
the majority of systems will not work without it so...
---
 .gitignore               | 1 +
 configure.ac             | 1 +
 data/Makefile.am         | 3 +++
 data/sudoers/entrance.in | 1 +
 4 files changed, 6 insertions(+)

diff --git a/.gitignore b/.gitignore
index 92c53f0..fee0bbf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,6 +17,7 @@ config.sub
 configure
 data/Makefile
 data/Makefile.in
+data/sudoers/entrance
 data/themes/Makefile
 data/themes/Makefile.in
 data/themes/beaumonts/Makefile
diff --git a/configure.ac b/configure.ac
index ed12117..ea885b6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -202,6 +202,7 @@ src/Makefile
 src/bin/Makefile
 src/daemon/Makefile
 data/Makefile
+data/sudoers/entrance
 data/themes/Makefile
 data/themes/default/Makefile
 ])
diff --git a/data/Makefile.am b/data/Makefile.am
index 86ea78a..a0d0d0b 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -11,6 +11,9 @@ pam_DATA = entrance
 confdir = $(sysconfdir)
 conf_DATA = entrance.conf
 
+sudoersdir = $(sysconfdir)/sudoers.d
+sudoers_DATA = sudoers/entrance
+
 if HAVE_SYSTEMD
 systemddir = /usr/lib/systemd/system/
 systemd_DATA = entrance.service
diff --git a/data/sudoers/entrance.in b/data/sudoers/entrance.in
new file mode 100644
index 0000000..0fdc1a1
--- /dev/null
+++ b/data/sudoers/entrance.in
@@ -0,0 +1 @@
+Defaults!@libdir@/entrance/entrance_client !requiretty

-- 


Reply via email to