History

installer: remove liveuser from /etc/sudoers in local installation.

Close #43

Juan RP committed 11 years ago

Commit f0722b01 parent d3b527e1 file · +1 −0Browse files

Unified · Split

installer.sh.in+1−0
@@ -856,6 +856,7 @@ ${BOLD}Do you want to continue?${RESET}" 20 80 || return · 855 unmodified lines
856 # Remove live user.856 # Remove live user.
857 echo "Removing $USERNAME live user from targetdir ..." >$LOG857 echo "Removing $USERNAME live user from targetdir ..." >$LOG
858 chroot $TARGETDIR userdel -r $USERNAME >$LOG 2>&1858 chroot $TARGETDIR userdel -r $USERNAME >$LOG 2>&1
859 sed -i -e "/$USERNAME ALL=.*/d" $TARGETDIR/etc/sudoers
859 DIALOG --title "Check $LOG for details" \860 DIALOG --title "Check $LOG for details" \
860 --infobox "Rebuilding initramfs for target ..." 4 60861 --infobox "Rebuilding initramfs for target ..." 4 60
861 echo "Rebuilding initramfs for target ..." >$LOG862 echo "Rebuilding initramfs for target ..." >$LOG

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t