diff options
author | Holger Paradies <retabell@gmx.de> | 2024-12-23 06:54:48 +0100 |
---|---|---|
committer | Holger Paradies <retabell@gmx.de> | 2025-05-05 05:35:33 +0200 |
commit | a1b8bc8dc4b71e636835ef1f98a00bcb81b05d52 (patch) | |
tree | 25eb3c871b00514a2a16c0f01c06648f20ffa87c /config/chroot_local-hooks/03-trixie-su-fix | |
parent | 78e7506ea122574bfaee90bca15d299221bc4236 (diff) | |
download | kanotix-a1b8bc8dc4b71e636835ef1f98a00bcb81b05d52.zip kanotix-a1b8bc8dc4b71e636835ef1f98a00bcb81b05d52.tar.gz |
Create towelfire fixes files
Diffstat (limited to 'config/chroot_local-hooks/03-trixie-su-fix')
-rwxr-xr-x | config/chroot_local-hooks/03-trixie-su-fix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/03-trixie-su-fix b/config/chroot_local-hooks/03-trixie-su-fix new file mode 100755 index 0000000..925fe94 --- /dev/null +++ b/config/chroot_local-hooks/03-trixie-su-fix @@ -0,0 +1,9 @@ +#!/bin/sh +for file in /root/config/*; do [ -r $file ] && . $file; done + +if [ "$LB_DISTRIBUTION" = "trixie" ]; then + +# force old su behaviour +echo "ALWAYS_SET_PATH yes" >>/etc/default/su + +fi |