Jean-Paul Calderone <[EMAIL PROTECTED]> wrote:
>  On Mon, 26 Mar 2007 16:50:33 +0200, Thomas Dybdahl Ahle <[EMAIL PROTECTED]> 
> wrote:
> >Den Mon, 26 Mar 2007 06:30:04 -0500 skrev Nick Craig-Wood:
> >> Under linux the only priviledge you need is CAP_NET_RAW.  It is possible
> >> to give this to a process - a bit of searching with google will show you
> >> how!
> >
> >How, I did google, but I wasn't able to find any way to do this in
> >python..
> 
>  You need a sendmsg wrapper (there are several, none in the stdlib), then
>  you need a privileged process which is willing to give you the privilege.
> 
>  It's pretty inconvenient.

You start a user process with an extra capability using want using
libcap and the execcap and sucap tools.

-- 
Nick Craig-Wood <[EMAIL PROTECTED]> -- http://www.craig-wood.com/nick
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to