Date: Sat, 5 Dec 1998 17:49:23 +0000 From: Ben Smithurst <ben@scientia.demon.co.uk> To: Evren Yurtesen <yurtesen@ispro.net.tr> Cc: questions@FreeBSD.ORG Subject: Re: how to kill root processes? Message-ID: <19981205174923.B37396@scientia.demon.co.uk> In-Reply-To: <Pine.BSF.4.05.9812051514590.24857-100000@finland.ispro.net.tr> References: <Pine.BSF.4.05.9812051514590.24857-100000@finland.ispro.net.tr>
next in thread | previous in thread | raw e-mail | index | archive | help
Evren Yurtesen wrote: > I tried to make a script for it and I gave set-user-ID-on-execution > bit with chmod but it did not work...(file was owned by root) You can't make sh scripts suid, because /bin/sh is not suid (at least I think that's the reason). Make a small wrapper in C which then execs the script, or just write the whole thing in C. -- Ben Smithurst ben@scientia.demon.co.uk send a blank message to ben+pgp@scientia.demon.co.uk for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981205174923.B37396>