Date: Fri, 4 Jan 2002 12:17:36 -0500 (EST) From: Vivek Khera <khera@kcilink.com> To: freebsd-questions@freebsd.org Subject: Re: Setuid. Message-ID: <200201041717.g04HHaq36139@onceler.kciLink.com> References: <001b01c19476$c82f9d60$3800a8c0@DAVE>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "DR" == Dave Raven <dave@kill-9.za.net> writes: DR> Hello, DR> I need to run a perl program as root from the web (web user = nobody) DR> These are the permissions I have given the file: DR> -rwsr-xr-x 1 nobody nobody 1447 Jan 3 15:42 bwutil.pl DR> As a non root user: DR> su-2.05$ /usr/optec/bwutil.pl DR> Can't do setuid You need to ensure your suidperl is set-uid to root. The default is not. See /etc/default/make.conf to see how to make it so on rebuild, or just chmod u+s the suidperl binary. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D. Khera Communications, Inc. Internet: khera@kciLink.com Rockville, MD +1-240-453-8497 AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/ 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?200201041717.g04HHaq36139>