Re: documentation bug (uid resetting in posix mode)
From:
Stefano Lattarini
Subject:
Re: documentation bug (uid resetting in posix mode)
Date:
Tue, 30 Oct 2012 18:53:41 +0100
On 10/30/2012 06:28 PM, Andreas Schwab wrote:
> Stefano Lattarini <stefano.lattarini@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