aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rwxr-xr-xconfig/includes.chroot/lib/live/config/2003-setuid8
-rwxr-xr-xconfig/includes.chroot/lib/live/config/2003-sudo_setuid5
2 files changed, 8 insertions, 5 deletions
diff --git a/config/includes.chroot/lib/live/config/2003-setuid b/config/includes.chroot/lib/live/config/2003-setuid
new file mode 100755
index 0000000..ad920c7
--- /dev/null
+++ b/config/includes.chroot/lib/live/config/2003-setuid
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+echo " setuid"
+chmod u+s /usr/bin/sudo || echo "Couldn't setuid on /usr/bin/sudo! Skipping."
+chmod u+s /bin/ping || echo "Couldn't setuid on /bin/ping! Skipping."
+chmod u+s /bin/ping6 || echo "Couldn't setuid on /bin/ping6! Skipping."
+chmod u+s /bin/su || echo "Couldn't setuid on /bin/su! Skipping."
+
diff --git a/config/includes.chroot/lib/live/config/2003-sudo_setuid b/config/includes.chroot/lib/live/config/2003-sudo_setuid
deleted file mode 100755
index debfe97..0000000
--- a/config/includes.chroot/lib/live/config/2003-sudo_setuid
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-echo " sudo_setuid"
-chmod u+s /usr/bin/sudo || echo "Couldn't setuid on /usr/bin/sudo! Skipping."
-