set-user-id anomoly

Charles Smith cts.private at yahoo.com
Thu Mar 7 13:28:24 UTC 2013


Hi.

I have the following two files - does anybody have a clue how they can be different?

$ ls -l

-rwsr-xr-x 1 root cts 760184 Mar  6 07:40 /home/cts/nodes/tcpdump
-rwsr-xr-x 1 root cts 760184 Mar  5 23:55 tcpdump


$ cmp tcpdump /home/cts/nodes/tcpdump 
$

One works:

$ ~/nodes/tcpdump
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes


One doesn't:

$ ./tcpdump
tcpdump: no suitable device found


I know that there are wonderous new things going into linux, so I tried this:

$ getcap
The program 'getcap' is currently not installed.  You can install it by typing:
sudo apt-get install libcap2-bin


Why does one work and the other not?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20130307/e787e943/attachment.html>


More information about the ubuntu-users mailing list