*BSD News Article 50848


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!in2.uu.net!news.mathworks.com!ntuix.ntu.ac.sg!raffles.technet.sg!einstein.technet.sg!jseng
From: jseng@technet.sg (James Seng)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: "chmod u+s" problem
Date: 13 Sep 1995 02:35:54 GMT
Organization: Technet, Singapore
Lines: 11
Message-ID: <435g2a$s87@raffles.technet.sg>
References: <433ti2$96r@advocaat.dd.sigma.se>
NNTP-Posting-Host: einstein.technet.sg
X-Newsreader: TIN [version 1.2 PL2]

Olof Franksson (Olof.Franksson@dd.sigma.se) wrote:
: What I created was a shell script (foo, see below) owned by root (chown 
: root foo), with the execution flags set (chmod a+rx foo), and with "set 
: ID on execution" flag set (chmod u+s foo).

Oh no! Lets not start a long threat of "Setuid Script" here please.

Please read the FAQ for comp.security.unix. The answer is all there.
In short, setuid script are not allowed.

-James Seng