*BSD News Article 67233


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!solace!nntp.uio.no!news.cais.net!newsfeed.internetmci.com!howland.reston.ans.net!vixen.cso.uiuc.edu!uchinews!news
From: csdayton+usenet@midway.uchicago.edu (Soren Dayton)
Subject: Re: Does setuid work???
In-Reply-To: gmann@bugs.aditech.com's message of 29 Apr 1996 22:08:29 GMT
X-Nntp-Posting-Host: woodlawn.uchicago.edu
Message-ID: <xcdivei646e.fsf@woodlawn.uchicago.edu>
To: gmann@bugs.aditech.com (Glen W. Mann)
Lines: 15
Sender: csdayton@woodlawn.uchicago.edu
Organization: uchi.comp.unix viper cabal
X-Newsreader: Gnus v5.1
References: <4m3ekt$7ar@portal.gmu.edu>
Date: Mon, 29 Apr 1996 22:44:41 GMT

Our friend, gmann@bugs.aditech.com (Glen W. Mann), wrote:

> I have a script (perl 5) which needs to reset owner and permissions for
> a directory tree and its (harmless nuisance) files.  I've got the script 
> set to
> 
>   -rwsr-xr-x  1 root   bin     1234 somedate/time FixFiles
> 
> The script starts with #!/usr/bin/perl

virtually all modern unices do nt allow setuid scripts because of
security holes.  people usually write C wrappers around them to solve
that problem

Soren