1828459 Members
3308 Online
109978 Solutions
New Discussion

Re: Issue with tcpdump

 
girishb
Frequent Advisor

Issue with tcpdump

Hi All,

Having problem with tcpdump command on RHEL. We are experiencing "Couldn't find user 'pcap'"

Example:
[root@server root]# tcpdump -i eth0 icmp
Couldn't find user 'pcap'

I need to solve this urgently.

Thanks in advance for the response.

Girish
4 REPLIES 4
Stuart Browne
Honored Contributor

Re: Issue with tcpdump

http://lists.planet-lab.org/pipermail/users/2005-July/001562.html

Long answer:

The install routine that adds the 'pcap' user sometimes doesn't do it properly. This has been reported to various buglists etc. but as yet doesn't appear to have been fully resolved.

Short answer/fix:

Manually add the user. Decent command line is in that URL.
One long-haired git at your service...
Ivan Ferreira
Honored Contributor

Re: Issue with tcpdump

Try just adding the pcap user:

adduser pcap

May be required to run tcpdump.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
girishb
Frequent Advisor

Re: Issue with tcpdump

Thanks folks.

useradd pcap has worked.
girishb
Frequent Advisor

Re: Issue with tcpdump

Thanks folks