I am trying to give a normal user, student, the permission necessary to run wireshark as sudo, I know I have to edit the sudoer file, I added this line:
but I keep getting an error:
[student@cam ~]$ sudo wireshark
[sudo] password for student:
Sorry, user student is not allowed to execute '/usr/sbin/wireshark' as root on cam.
But obviously that hasn't worked out.
My linux is Red Hat Enterprise Linux Server release 6.1 (Santiago)