From 47b7d6c0b2932788312d71c8586a21b26856c73a Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Wed, 27 Feb 2019 21:54:32 +0100 Subject: Configure kdesu to use sudo instead of su That will cause kdesu to ask for the 'live' password instead of the 'root' password. --- make_slackware_live.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/make_slackware_live.sh b/make_slackware_live.sh index 6e860dc..a7d931b 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -1871,6 +1871,13 @@ EOT mkdir -p ${LIVE_ROOTDIR}/etc/skel/.local/share/akonadi mkdir -p ${LIVE_ROOTDIR}/etc/skel/.kde/share/config + # Configure kdesu to use 'sudo' instead of 'su', so that it will ask + # for the 'live'password instead of the 'root'password: + cat <${LIVE_ROOTDIR}/etc/skel/.config/kdesurc +[super-user-command] +super-user-command=sudo +KDESU_EOF + # Set akonadi backend: cat <${LIVE_ROOTDIR}/etc/skel/.config/akonadi/akonadiserverrc [%General] -- cgit v1.2.3