diff options
author | ficus <ficus@robocracy.org> | 2012-11-22 03:27:09 +0100 |
---|---|---|
committer | ficus <ficus@robocracy.org> | 2012-11-22 03:27:09 +0100 |
commit | 167fd91dee626cf51ffb37858921d8b331d3b7e6 (patch) | |
tree | 90110a7da85ba9f633f6c7dbfcdebbc40240d8b4 /config/includes.chroot/lib/live | |
parent | 82197781bd1bd73feb082217ef3af8acede8152f (diff) | |
download | torouter-live-167fd91dee626cf51ffb37858921d8b331d3b7e6.tar.gz torouter-live-167fd91dee626cf51ffb37858921d8b331d3b7e6.zip |
update setuid workaround (temporary)
Diffstat (limited to 'config/includes.chroot/lib/live')
-rwxr-xr-x | config/includes.chroot/lib/live/config/2003-setuid | 8 | ||||
-rwxr-xr-x | config/includes.chroot/lib/live/config/2003-sudo_setuid | 5 |
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." - |