On Wed, Apr 17, 2002 at 02:38:34PM +0000, helmut schmidt wrote:
> I have set the SUID bit on /bin/bash but when I run from a normal 
> unprivileged user, I do not get a root shell - just a normal user 
context.
> When I do the same on Compaq Tru64 I get a root shell - as expected.
> Can someone explain why my Linux (Suse 6.2) will not play...

bash has some strange -p option which enables privileged mode.
without -p, it'll revert the effective gid and uid to the real gid and
uid.  check the bash manpage for details.

-- 
____________________}John Flinchbaugh{______________________
| [EMAIL PROTECTED]         http://www.hjsoft.com/~glynis/ |
~~Powered by Linux: Reboots are for hardware upgrades only~~

Attachment: msg00262/pgp00000.pgp
Description: PGP signature

Reply via email to