Re: Does fastcgi application send signal to another process
Charles Thomas <[email protected]> Thu, 11 Oct 2012 10:56:01 -0500
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============3015607471170494461== Content-type: multipart/alternative; boundary="Boundary_(ID_m1SUTZNdmSOsYZgdmT9KCQ)" --Boundary_(ID_m1SUTZNdmSOsYZgdmT9KCQ) Content-type: text/plain; CHARSET=US-ASCII Content-transfer-encoding: 7BIT Can't you run the application that you're trying to kill under the same user id? There are ways around this, but those ways come with their own security risks (such as using setuid bit, putting the users in the same group, or just running as root). Personally -- I am pretty fanatical about user/group permissions -- so the only option that I will use is same-user id. Tom Sent from my iPad On Oct 11, 2012, at 6:41 AM, Tony <[email protected]> wrote: > I tried to send SIGQUIT to another process to kill it. But I'm failed, the system said that the fastcgi application doesn't have enough priviledge to do this operation. So how should I solve this issue? Is it OK to use pipe to notify process to exit? > > > _______________________________________________ > FastCGI-developers mailing list > FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org > http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers --Boundary_(ID_m1SUTZNdmSOsYZgdmT9KCQ) Content-type: text/html; CHARSET=US-ASCII Content-transfer-encoding: quoted-printable <html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D= utf-8"></head><body dir=3D"auto"><div>Can't you run the application that you= 're trying to kill under the same user id?</div><div><br></div><div>There ar= e ways around this, but those ways come with their own security risks (such a= s using setuid bit, putting the users in the same group, or just running as r= oot). Personally -- I am pretty fanatical about user/group permissions= -- so the only option that I will use is same-user id.</div><div><br></div>= <div>Tom</div><div><br><br>Sent from my iPad</div><div><br>On Oct 11, 2012, a= t 6:41 AM, Tony <<a href=3D"mailto:[email protected]">fantasyvideo@126= .com</a>> wrote:<br><br></div><blockquote type=3D"cite"><div><div style=3D= "line-height:1.7;color:#000000;font-size:14px;font-family:arial"><span style= =3D"font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; line-h= eight: 18px; ">I tried to send SIGQUIT to another process to kill it. But I'= m failed, the system said that the fastcgi application doesn't have enough p= riviledge to do this operation. So how should I solve this issue? Is it OK t= o use pipe to notify process to exit?</span></div><br><br><span title=3D"net= easefooter"><span id=3D"netease_mail_footer"></span></span></div></blockquot= e><blockquote type=3D"cite"><div><span>_____________________________________= __________</span><br><span>FastCGI-developers mailing list</span><br><span><= a href=3D"mailto:FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org">FastCGI-developers@= mailman.fastcgi.com</a></span><br><span><a href=3D"http://mailman.fastcgi.co= m/mailman/listinfo/fastcgi-developers">http://mailman.fastcgi.com/mailman/li= stinfo/fastcgi-developers</a></span><br></div></blockquote></body></html>= --Boundary_(ID_m1SUTZNdmSOsYZgdmT9KCQ)-- --===============3015607471170494461== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ FastCGI-developers mailing list FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers --===============3015607471170494461==--