mirror of
https://github.com/KDE/kde-linux.git
synced 2026-05-19 05:48:58 -04:00
Allow sudo for live user
This commit is contained in:
committed by
Harald Sitter
parent
b6e67c1336
commit
a3f76e06e7
@@ -52,6 +52,12 @@ cat << EOF > /home/live/.config/kwalletrc
|
||||
Enabled=false
|
||||
EOF
|
||||
|
||||
# Allow sudo in the live environment for troubleshooting
|
||||
mkdir -p /etc/sudoers.d
|
||||
cat << EOF > /etc/sudoers.d/04_live
|
||||
%wheel ALL=(ALL:ALL) NOPASSWD: ALL
|
||||
EOF
|
||||
|
||||
cp /usr/share/applications/calamares.desktop /home/live/Desktop/
|
||||
chmod +x /home/live/Desktop/calamares.desktop # without this there'd be a dialog asking if it really should execute
|
||||
|
||||
|
||||
Reference in New Issue
Block a user