Alan> Ok send me the example again (I didnt keep it - I should have) I'll look at
Alan> it this end
#!/bin/sh
file1=${1-/mnt/kernel/temp}
user=hanneke
# Now execute a suid program by some other user.
su $user -c date > $file1
ls -l $file1
# Cleanup afterwards
rm -f /tmp/ls $file1
-- ---------------------------------------------------------------------- telephone: +31 33 455 85 84 Tasking Software BV fax: +31 33 455 10 05 P.O. Box 899 email: kees_bakker@tasking.com 3800 AW Amersfoort WWW: http://www.tasking.com The Netherlands ---------------------------------------------------------------------- ----- Quality Development Tools Worldwide ----- ----------------------------------- Someday you'll look back on this and laugh.- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html