Linux HAM/Amateur Radio development
 help / color / mirror / Atom feed
From: Chuck Hast <wchast@gmail.com>
To: linux-hams <linux-hams@vger.kernel.org>
Subject: Re: Listen root only
Date: Fri, 15 Jul 2005 20:40:28 -0600	[thread overview]
Message-ID: <620c905705071519402f95a000@mail.gmail.com> (raw)
In-Reply-To: <20050716021652.GA4343@cloud.net.au>

On 7/15/05, Hamish Moffatt <hamish@cloud.net.au> wrote:
> On Fri, Jul 15, 2005 at 09:02:41PM -0400, Chuck Hast wrote:
> > Folks,
> > I am trying to get listen to be viewable by other users than root. I have
> > checked the permissions on listen and all appears OK, but when I
> > try to run it as a common user, I get a failure.
> 
> Define OK?
> 
> > Here is the error message:
> > kp4djt@fpac-dev:~$ listen
> > socket: Operation not permitted
> > kp4djt@fpac-dev:~$
> 
> listen needs to open a socket to receive all traffic (like packet
> sniffing on ethernet), which only root can do. So listen must be either
> run by root, or run as root using setuid.
> 
setuid took care of it.
Actually what I am trying to do is have it run as a shell, so that when I
log into listen I get the listen application. I have that working, but without
the arguments Now I have to figure out how to handle that so I can get
the color screen of the different frame types.

-- 
Chuck Hast 
To paraphrase my flight instructor;
"the only dumb question is the one you DID NOT ask resulting in my going
out and having to identify your bits and pieces in the midst of torn
and twisted metal."

  reply	other threads:[~2005-07-16  2:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-16  1:02 Listen root only Chuck Hast
2005-07-16  2:16 ` Hamish Moffatt
2005-07-16  2:40   ` Chuck Hast [this message]
2005-07-16  4:32   ` Chuck Hemker
2005-07-16 15:50     ` Curt Mills
2005-07-16 22:36       ` Jim Bayer
2005-07-17 14:02       ` Hamish Moffatt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=620c905705071519402f95a000@mail.gmail.com \
    --to=wchast@gmail.com \
    --cc=linux-hams@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox