diff options
author | ficus <ficus@robocracy.org> | 2012-11-22 01:16:49 +0100 |
---|---|---|
committer | ficus <ficus@robocracy.org> | 2012-11-22 01:16:49 +0100 |
commit | 71b3a24221a0742e594d7baed60dfe2234d710d1 (patch) | |
tree | d89abdfbcfb9c0b7aabc6222b34680df118084e7 /config | |
parent | d5f64fccf61aacbb2cd9c7b1ec2c4567f965ba59 (diff) | |
download | torouter-live-71b3a24221a0742e594d7baed60dfe2234d710d1.tar.gz torouter-live-71b3a24221a0742e594d7baed60dfe2234d710d1.zip |
add work-around scripts to set user passwd and fix sudo setuid
Diffstat (limited to 'config')
-rwxr-xr-x | config/includes.chroot/lib/live/config/2003-sudo_setuid | 5 | ||||
-rwxr-xr-x | config/includes.chroot/lib/live/config/2004-torouter_pw | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/config/includes.chroot/lib/live/config/2003-sudo_setuid b/config/includes.chroot/lib/live/config/2003-sudo_setuid new file mode 100755 index 0000000..debfe97 --- /dev/null +++ b/config/includes.chroot/lib/live/config/2003-sudo_setuid @@ -0,0 +1,5 @@ +#!/bin/sh + +echo " sudo_setuid" +chmod u+s /usr/bin/sudo || echo "Couldn't setuid on /usr/bin/sudo! Skipping." + diff --git a/config/includes.chroot/lib/live/config/2004-torouter_pw b/config/includes.chroot/lib/live/config/2004-torouter_pw new file mode 100755 index 0000000..129258b --- /dev/null +++ b/config/includes.chroot/lib/live/config/2004-torouter_pw @@ -0,0 +1,4 @@ +#!/bin/sh + +echo " torouter passwd" +echo "torouter:torouter" | chpasswd |