msantos / epcap

Erlang packet capture interface using pcap
http://listincomprehension.com/2009/12/erlang-packet-sniffer-using-ei-and.html
BSD 3-Clause "New" or "Revised" License
178 stars 56 forks source link

Error message: "sudo: sorry, you must have a tty to run sudo" #15

Closed josemic closed 10 years ago

josemic commented 10 years ago

There are 2 issues with CentOS 6.5:

Error message: sudo: sorry, you must have a tty to run sudo

Solution (as root): export VISUAL=nano; visudo

Add to the fie: Defaults:youruser !requiretty

where: