Configure sudo to give liveuser user all permission with no password required
This commit is contained in:
parent
16ebbb5c67
commit
23202d7fae
1
Makefile
1
Makefile
@ -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
9
liveuser-sudoers
Normal 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
|
Loading…
Reference in New Issue
Block a user