*BSD News Article 82656


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!sleipnir.iaccess.com.au!news
From: phil@iaccess.com.au (Phillip Krokidis)
Newsgroups: comp.unix.admin,comp.unix.questions,comp.unix.bsd.bsdi.misc
Subject: Setuid Problem
Date: 11 Nov 1996 16:37:24 GMT
Organization: Internet Access Australia
Lines: 18
Message-ID: <567ko8$6dd@sleipnir.iaccess.com.au>
NNTP-Posting-Host: tyrport4.iaccess.com.au
X-Newsreader: WinVN 0.92.6+
Xref: euryale.cc.adfa.oz.au comp.unix.admin:50128 comp.unix.questions:91022 comp.unix.bsd.bsdi.misc:5247

Hello,

Im having problems getting setuid to work on a bsdi 1.1 system
I have set the owner of a file as root and the "s" bit as
follows:

-rwsrwxr-x  1 root  wheel    1815 Nov  3 22:59 file.pl

If I try to run the program by sending email to an alias 
in the sendmail /etc/aliases file ie. alias: "|/path_to_file/file.pl"
the program will not run as root but as daemon with effective and real id
of "1". 

Can anyone suggest a way to get this working?

Thanks,
Phil
phil@iaccess.com.au