sudoer for letting a normal user run wireshark
Hello experts!
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: Code:
student ALL=NOPASSWD:/usr/bin/wireshark Code:
[student@cam ~]$ sudo wireshark But obviously that hasn't worked out. My linux is Red Hat Enterprise Linux Server release 6.1 (Santiago) thanks |
The pathname /usr/sbin/wireshark (in the error message) is probably correct unlike /usr/bin/wireshark (in sudoers)?
|
ah ops, thank you linosaurusroot. actually both paths (the sbin and bin) exists, once i changed it to sbin it works now.
thanks davy |
All times are GMT -5. The time now is 06:30 PM. |