summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2019-02-27 21:54:32 +0100
committer Eric Hameleers <alien@slackware.com>2019-02-27 21:54:32 +0100
commit47b7d6c0b2932788312d71c8586a21b26856c73a (patch)
tree195cc6d426f346d544af04323f196f0f37b3e5ef
parent7cdd733ba9b2418c6c1fa018940eba78a01b85c4 (diff)
downloadliveslak-47b7d6c0b2932788312d71c8586a21b26856c73a.tar.gz
liveslak-47b7d6c0b2932788312d71c8586a21b26856c73a.tar.xz
Configure kdesu to use sudo instead of su
That will cause kdesu to ask for the 'live' password instead of the 'root' password.
-rwxr-xr-xmake_slackware_live.sh7
1 files changed, 7 insertions, 0 deletions
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 <<KDESU_EOF >${LIVE_ROOTDIR}/etc/skel/.config/kdesurc
+[super-user-command]
+super-user-command=sudo
+KDESU_EOF
+
# Set akonadi backend:
cat <<AKONADI_EOF >${LIVE_ROOTDIR}/etc/skel/.config/akonadi/akonadiserverrc
[%General]