On 10/30/2012 06:28 PM, Andreas Schwab wrote: > Stefano Lattarini <stefano.lattar...@gmail.com> writes: > >> $ ./system-suid >> [8204] ruid = 1000, euid = 0, suid = 0 > > Looks like your /bin/sh is broken. > How "broken" exactly? Honest question.
Anyway, my /bin/sh is bash ... $ ls -l /bin/sh lrwxrwxrwx 1 root root 4 Jul 8 2010 /bin/sh -> bash $ /bin/sh --version GNU bash, version 4.2.20(1)-release (i486-pc-linux-gnu) Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. I'm on Debian Unstable BTW (sorry for not specifying that earlier). Let me know if you need more information. Regards, Stefano