Date: Thu, 3 Jan 2002 18:56:29 +0200 From: Yonatan Bokovza <Yonatan@xpert.com> To: 'Dave Raven' <dave@kill-9.za.net>, "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org> Subject: RE: Setuid. Message-ID: <EB513E68D3F5D41191CA000255588101B436D0@mailserv.xpert.com>
next in thread | raw e-mail | index | archive | help
> -----Original Message----- > From: Dave Raven [mailto:dave@kill-9.za.net] > Sent: Thursday, January 03, 2002 18:51 > To: freebsd-questions@FreeBSD.org > Subject: Setuid. > > > Hello, > I need to run a perl program as root from the web (web > user = nobody) > These are the permissions I have given the file: > -rwsr-xr-x 1 nobody nobody 1447 Jan 3 15:42 bwutil.pl > > As a non root user: > su-2.05$ /usr/optec/bwutil.pl > Can't do setuid The permission on that file should be: -rwsr-xr-x 1 root nobody 1447 Jan 3 15:42 bwutil.pl But running SUID-root files from web is a Bad Thing(tm). Try not to do that. > I'm sure there must be a better way to do this, but if > not how should I > proceed? > > Thanks, > Dave. > OpteqSec. 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?EB513E68D3F5D41191CA000255588101B436D0>