Capturing packets in ethereal as non-root user?
I have installed ethereal on my slackware machine. If I login as root and issue this command
Code:
# ethereal When I log in as a normal user and try to issue the same Code:
# ethereal I specify eth0 as the interface when using the program as root, and it works. If I specify eth0 as a non-root user it does not work. I have tried to su to root and then run the program, but ethereal won't even launch. If I Code:
# sudo ethereal Is there a way to change the permissions of some ethereal file so that I can use the program as a non-root user? Or do I have to add myself to the sudoers file and always use the sudo command? Thanks in advance. -Clayton Oh BTW... :newbie: :D |
don't know why su'ing into root won't run ethereal. it's working here for me. AFIK, ethereal will only run in root. if you want, you could try setting the setuid bit in the permissions on the ethereal executable.
|
Quote:
Thanks. |
I have the same problem myself. I thought I'd be able to find /dev/eth0 but I was wrong. I know the idea is to give my non root user access to read eth0 but I cannot find eth0 itself just config files. Does anyone know where I can find eth0 if possible?
|
Quote:
In order to do what I think you want to do you will have to add non-priveleged user umpitysquat to the group network....wich I HIGHLY RECOMMEND YOU NOT DO! .......big security no-no..... |
Quote:
In order to do what I think you want to do you will have to add non-priveleged user umpitysquat to the group network....wich I HIGHLY RECOMMEND YOU NOT DO! .......big security no-no..... do what megaspaz said....if you want to play with permissions.... |
Quote:
|
All times are GMT -5. The time now is 03:18 AM. |