*BSD News Article 99815


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!02-newsfeed.univie.ac.at!01-newsfeed.univie.ac.at!news.radio.cz!nntprelay.mathworks.com!howland.erols.net!news.apfel.de!univ-lyon1.fr!pasteur.fr!jussieu.fr!eurocontrol.fr!polaris.eurocontrol.fr!not-for-mail
From: roberto@eurocontrol.fr (Ollivier Robert)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Problem setuid
Date: 17 Jul 1997 12:09:36 GMT
Organization: Eurocontrol EEC, Bretigny, France
Lines: 12
Message-ID: <5ql220$m9q$1@polaris.eurocontrol.fr>
References: <33CCD95D.22D380A3@easynet.fr>
NNTP-Posting-Host: caerdonn.eurocontrol.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: trn 4.0-test58 (13 May 97)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44559

    [courtesy cc of this posting sent to cited author via email]

In article <33CCD95D.22D380A3@easynet.fr>,
Michael Hallgren  <hallgren@easynet.fr> wrote:
> problem is in particular that I need to run a shellscript that requires
> to run by root. I set the -t option, I tried the -s option, but my script

Setuid shell scripts are forbidden for security reasons. Use either a C
wrapper or a setuid Perl script (much better IMO).
-- 
Ollivier ROBERT -=- FreeBSD: there are no limits -=- roberto@eurocontrol.fr
FreeBSD FAQ: <URL:http://www.FreeBSD.org/FAQ/>