Configure sudo to give liveuser user all permission with no password required

This commit is contained in:
Silvan Calarco 2011-10-30 18:08:48 +01:00
parent 16ebbb5c67
commit 23202d7fae
2 changed files with 10 additions and 0 deletions

View File

@ -82,6 +82,7 @@ install: install-dirs install-locales install-icons
$(INSTALL_PROGRAM) installer/installer.kmdr $(DESTDIR)$(installerdatadir) $(INSTALL_PROGRAM) installer/installer.kmdr $(DESTDIR)$(installerdatadir)
$(INSTALL_PROGRAM) installer/*.sh $(DESTDIR)$(installerdatadir) $(INSTALL_PROGRAM) installer/*.sh $(DESTDIR)$(installerdatadir)
$(INSTALL_PROGRAM) installer/installer-sudoers $(DESTDIR)$(sysconfdir)/sudoers.d/installer $(INSTALL_PROGRAM) installer/installer-sudoers $(DESTDIR)$(sysconfdir)/sudoers.d/installer
$(INSTALL_PROGRAM) liveuser-sudoers $(DESTDIR)$(sysconfdir)/sudoers.d/liveuser
$(INSTALL_DATA) installer/openmamba-installer.desktop $(DESTDIR)$(SYSTEM_MENU_DIR) $(INSTALL_DATA) installer/openmamba-installer.desktop $(DESTDIR)$(SYSTEM_MENU_DIR)
cp -a liveuser/.kde4 $(DESTDIR)/home/liveuser/ cp -a liveuser/.kde4 $(DESTDIR)/home/liveuser/

9
liveuser-sudoers Normal file
View File

@ -0,0 +1,9 @@
# liveuser user sudoers.d file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#
# Enable all like root
liveuser ALL= NOPASSWD: ALL