From 23202d7faedfdb2879ba3ddd97ee4dd82414f84d Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sun, 30 Oct 2011 18:08:48 +0100 Subject: [PATCH] Configure sudo to give liveuser user all permission with no password required --- Makefile | 1 + liveuser-sudoers | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 liveuser-sudoers diff --git a/Makefile b/Makefile index 5a32455..d59d734 100644 --- a/Makefile +++ b/Makefile @@ -82,6 +82,7 @@ install: install-dirs install-locales install-icons $(INSTALL_PROGRAM) installer/installer.kmdr $(DESTDIR)$(installerdatadir) $(INSTALL_PROGRAM) installer/*.sh $(DESTDIR)$(installerdatadir) $(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) cp -a liveuser/.kde4 $(DESTDIR)/home/liveuser/ diff --git a/liveuser-sudoers b/liveuser-sudoers new file mode 100644 index 0000000..53e9a90 --- /dev/null +++ b/liveuser-sudoers @@ -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