[ILUG] Ethereal
Stephen Shirley
diamond at skynet.ie
Wed Mar 23 02:37:28 GMT 2005
Linux ilug wrote:
> Lads, Does anyone know how to run ethereal as a user and not as root.
> Having huge trouble enabling my account to run ethereal, I also have
> root access. If so any advice would be gratefully accepted.
You can't, as such. You need root access to be able to grab all packets
off the network. The best thing you can do is use something like sudo[1]
to give your user account the ability to run ethereal, or set the suid
bit[2] on the ethereal executable.
Steve
[1]something like this in /etc/sudoers:
username ALL=(root) NOPASSWD: /path/to/ethereal
[2] chmod +s /path/to/ethereal
More information about the ILUG
mailing list