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...
This commit is contained in:
Mike Blumenkrantz 2014-05-05 00:54:54 -04:00
parent f66580ccd9
commit f0fe68f8ad
4 changed files with 6 additions and 0 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -202,6 +202,7 @@ src/Makefile
src/bin/Makefile
src/daemon/Makefile
data/Makefile
data/sudoers/entrance
data/themes/Makefile
data/themes/default/Makefile
])

View File

@ -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

1
data/sudoers/entrance.in Normal file
View File

@ -0,0 +1 @@
Defaults!@libdir@/entrance/entrance_client !requiretty