On Friday, June 8, 2012 5:33:48 AM UTC+1, William wrote: > > > Maybe its also worth looking into authbind . I use it for quite a while > now > > to run sage.mderickx.nl nativily on a privaliged port. authbind is a > linux > > tool which allows you to configure which non privaleged users can use > which > > non privaleged ports. > > Just curious -- by "non privaleged" here do you mean "privileged"? >
authbind is a linux tool which allows you to configure which non-privileged users can use which privileged ports. Its also a LD_PRELOAD hack so I'm not too fond of it. The best solution IMHO is to use the new (Linux kernel 2.6.24+) CAP_NET_BIND_SERVICE option. That is: setcap 'cap_net_bind_service=+ep' $SAGE_LOCAL/bin/python should do the trick. I haven't tried this () myself. There is slight improvement of the setcap technique with capsh as discussed on http://stackoverflow.com/questions/413807/is-there-a-way-for-non-root-processes-to-bind-to-privileged-ports-1024-on-l -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org