Date: Mon, 4 Aug 1997 20:53:37 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: ports@FreeBSD.ORG Cc: jonz@netrail.net (Jonathan A. Zdziarski) Subject: Re: SetUID Message-ID: <19970804205337.OT56334@uriah.heep.sax.de> References: <Pine.BSF.3.95q.970804101114.16615D-100000@netrail.net>
next in thread | previous in thread | raw e-mail | index | archive | help
As Jonathan A. Zdziarski wrote: > I recently, in an attempt to make my FreeBSD a litle more system Vish > like I'm used to, create a set of /sbin/init.d scripts to start and stop > services, and wired this and rc3.d into /etc/rc. Well, we already have this kind of service, sorta. It's stored in /usr/local/etc/rc.d, and /usr/X11R6/etc/rc.d. > I took it a step further, and made the noc-executable, and noc-setuid root > so that anybody in the noc could restart them without having to be in sudo > for it. For some odd reason (and this may just be a FreeBSD thing that > I'm not used to), I get the error that the script doesn't have permission > to kill the current running process Scripts (more accurately: `interpreter files') cannot be setuid. This is not very FreeBSDish, only very few systems allow you to do this. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970804205337.OT56334>