Re: Problems with rc.subr and suid script
From: Chuck Swiger (cswiger_at_mac.com)
Date: 10/29/04
- Previous message: Eric W. Bates: "Problems with rc.subr and suid script"
- In reply to: Eric W. Bates: "Problems with rc.subr and suid script"
- Next in thread: Frode Nordahl: "Re: Problems with rc.subr and suid script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 29 Oct 2004 00:00:00 -0400 To: "Eric W. Bates" <ericx_lists@vineyard.net>
Eric W. Bates wrote:
> I've written a CGI which is calling /usr/local/rc.d/squid.sh in an
> attempt to start/stop the proxy. Stopping works fine; however, whenever
> I try to start it I'm having permissions problems.
>
> It seems as tho rc.subr is using RUID instead of EUID.
>
> The CGI is written in perl.
Perl may be disregarding the setuid bit of the script in order to avoid the
security risks. Consider changing your script to work via sudo.
-- -Chuck _______________________________________________ freebsd-isp@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-isp To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
- Previous message: Eric W. Bates: "Problems with rc.subr and suid script"
- In reply to: Eric W. Bates: "Problems with rc.subr and suid script"
- Next in thread: Frode Nordahl: "Re: Problems with rc.subr and suid script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|