diff options
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 |
commit | 47b7d6c0b2932788312d71c8586a21b26856c73a (patch) | |
tree | 195cc6d426f346d544af04323f196f0f37b3e5ef | |
parent | 7cdd733ba9b2418c6c1fa018940eba78a01b85c4 (diff) | |
download | liveslak-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.
Diffstat (limited to '')
-rwxr-xr-x | make_slackware_live.sh | 7 |
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] |