[clue-tech] Using SUID to downgrade root's access
Angelo Bertolli
angelo at freeshell.org
Mon May 23 22:02:24 MDT 2005
David Anselmi wrote:
> Angelo Bertolli wrote:
>
>> I've been trying to set the SUID bit to make an executable (in this
>> case a shell script) run as a certain user. In particular this is
>> something I'd like to be run as "nobody." So I used `chown nobody`
>> and `chmod u+s`
>
>
> This:
>
> http://scrye.com/~kevin/lsh/april-99/Security-HOWTO-5.html
>
> says (just before section 5.3) that the kernel ignores SUID on shell
> scripts. That's what I've always heard so probably you can't do it.
Yep, that was it. Thanks.
More information about the clue-tech
mailing list