From 71b3a24221a0742e594d7baed60dfe2234d710d1 Mon Sep 17 00:00:00 2001 From: ficus Date: Thu, 22 Nov 2012 01:16:49 +0100 Subject: add work-around scripts to set user passwd and fix sudo setuid --- config/includes.chroot/lib/live/config/2003-sudo_setuid | 5 +++++ config/includes.chroot/lib/live/config/2004-torouter_pw | 4 ++++ 2 files changed, 9 insertions(+) create mode 100755 config/includes.chroot/lib/live/config/2003-sudo_setuid create mode 100755 config/includes.chroot/lib/live/config/2004-torouter_pw (limited to 'config') 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 -- cgit v1.2.3