Re: [SLUG] Permissions or what?

From: Eben King (eben1@tampabay.rr.com)
Date: Sat Jul 16 2005 - 14:09:13 EDT


On Fri, 15 Jul 2005, Chuck Hast wrote:

> On 7/15/05, Daniel Jarboe <daniel.jarboe@gmail.com> wrote:
> > > socket(PF_PACKET, SOCK_PACKET, 512) = -1 EPERM (Operation not
> > permitted)
> >
> > Bummer, looks like this program attempts to bind to port 512, which is
> > below 1024, which means it'll have to run as root unless this port is
> > configurable or you've lowered the 1024 limit in your kernel (or know how to
> > work some capability magic).
> >
> > Is this port that program listens on configurable?
>
> Not that I know of unless I re-compile the whole thing and then I will probably
> have problems with other bits and pieces of it.

512/tcp is listed as "exec" and 512/udp is listed as "biff" or "comsat".
Does it implement some service compatible with one of them? If not, you
should be able to move it without too much grief.

-- 
-eben    ebQenW1@EtaRmpTabYayU.rIr.OcoPm    home.tampabay.rr.com/hactar
Are you confident that you appear to be professional in your electronic
communication?  Consider this: A: No
                               Q: Can I top post? from nick@xx.co.uk

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 17:51:55 EDT