Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
iftop - permissions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
_Kevin
n00b
n00b


Joined: 29 Mar 2004
Posts: 67
Location: Bielsko-Biala, Poland

PostPosted: Tue Apr 27, 2004 7:59 am    Post subject: iftop - permissions Reply with quote

I can use iftop as root with no problems, but if I want to use it as user I get the message:
Quote:
pcap_open_live(eth0): socket: Operation not permitted


Can anyone tell me how to solve it?
Back to top
View user's profile Send private message
Janne Pikkarainen
Veteran
Veteran


Joined: 29 Jul 2003
Posts: 1143
Location: Helsinki, Finland

PostPosted: Tue Apr 27, 2004 3:42 pm    Post subject: Reply with quote

It probably wants to use promiscous mode so that's why regular user can't use it. Maybe the easiest way to grant access to it for regular user is to emerge sudo and use it. sudo lets you give root permissions to selected files for the selected users.

But please remember that sudo may well contain security holes, so use it with extreme care.
_________________
Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.".
Back to top
View user's profile Send private message
_Kevin
n00b
n00b


Joined: 29 Mar 2004
Posts: 67
Location: Bielsko-Biala, Poland

PostPosted: Tue Apr 27, 2004 5:44 pm    Post subject: Reply with quote

I think, I will get used to use it with su -c, I only need it on occasion. I thought it may be "configuration" issue. Anyway thanks for reply.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum