aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorficus <ficus@robocracy.org>2012-11-22 03:27:09 +0100
committerficus <ficus@robocracy.org>2012-11-22 03:27:09 +0100
commit167fd91dee626cf51ffb37858921d8b331d3b7e6 (patch)
tree90110a7da85ba9f633f6c7dbfcdebbc40240d8b4 /config
parent82197781bd1bd73feb082217ef3af8acede8152f (diff)
downloadtorouter-live-167fd91dee626cf51ffb37858921d8b331d3b7e6.tar.gz
torouter-live-167fd91dee626cf51ffb37858921d8b331d3b7e6.zip
update setuid workaround (temporary)
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."
-