Issue running the setcap command

Solution In Progress - Updated -

Issue

# setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/sbin/tcpdump
setcap: error while loading shared libraries: libcap.so.2: cannot open shared object file: No such file or directory

Environment

Red Hat Enterprise Linux 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In