If you want to run ethereal with root privileges automatically, without a password prompt, you need to set it setuid root, i.e.
Code:
chmod u+s `which wireshark`
or
Code:
chmod u+s `which ethereal`
, depending on whether you use a recent version. You may also need to add the line
Code:
/usr/bin/wireshark root:root 4755
or
Code:
/usr/bin/ethereal root:root 4755
in /etc/permissions.local, to avoid the permissions be reset when suseconfig runs.
Be warned that this may pose a security threat, if someone logs in to your system and finds a way to exploit this.