Re: low level ethernet device access in linux
- From: Grant Edwards <grante@xxxxxxxx>
- Date: Fri, 31 Aug 2007 17:33:25 -0000
On 2007-08-31, Tom Brown <brown@xxxxxxxxxx> wrote:
I understand that I am getting this error because I am running
the application as a user and not as root. I would like to be
able to run this app. as a user. Is there a way to create a
socket without running the app. as root or sudo?
Yes.
According to the raw(7) man page:
ERRORS
EPERM The user doesn't have permission to open raw
sockets. Only pro- cesses with a effective user
ID of 0 or the CAP_NET_RAW attribute may do that.
Anticipating your next question:
$ man capabilities
--
Grant Edwards grante Yow! Well, I'm INVISIBLE
at AGAIN ... I might as well
visi.com pay a visit to the LADIES
ROOM ...
.
- References:
- low level ethernet device access in linux
- From: Tom Brown
- low level ethernet device access in linux
- Prev by Date: Python 3000 released as 3.0a1
- Next by Date: Re: Is there a simple way to exit a while loop on keystroke?
- Previous by thread: low level ethernet device access in linux
- Next by thread: Python 3000 released as 3.0a1
- Index(es):
Relevant Pages
|