Subject: Re: route default delete -- by script, not by root
To: Gan Uesli Starling <alias@starling.us>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 02/03/2003 03:15:17
On Sun, 2 Feb 2003, Gan Uesli Starling wrote:
> ...in it and is chown root and chmod 6770 which
> I thought could be called by the script owned
> by vpnuser.
You can't have setuid/setgid scripts.
http://www.google.com/search?q=faq+setuid+scripts
Maybe do it in a small C program (or consider sudo like another poster
suggested).
Jeremy C. Reed
http://bsd.reedmedia.net/