SGID/SUID on scripts

Anthony Pankov ap00 at mail.ru
Thu Jul 23 07:41:03 UTC 2009


Thursday, July 23, 2009, 3:02:03 AM, Julian Elischer wrote:

JE> google SUID script security

Preface:

There is a file:

rwxr-sr-x  some:powerg  dothething

Run it: ./dothething

Make shure that process egid isn't powerg.

Resume:
I'm too dumb to ask google "SUID script security" with this preface.


As a result:

May be somebody will correct chmod manual page, my poor english have endowed
me with inablity to do this.


>> 
>> And no mention in chmod(1,2) manual.
>> 
>> 
>> 



-- 
Best regards,
 Anthony                            mailto:ap00 at mail.ru




More information about the freebsd-hackers mailing list