tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

setuid scripts

On Sat, 14 Feb 2009, Aleksej Saushev wrote:
> > I think you can run setuid scripts if you build a custom kernel with
> > SETUIDSCRIPTS enabled.
> Does it prevent symlink attack or simply disables the check?

AFAIK it works properly, by passing the script to the shell using an
open file descriptor, named via /dev/fd/${number}.  I have no idea why
it's disabled by default.

--apb (Alan Barrett)

Home | Main Index | Thread Index | Old Index