set-user-id anomoly

Colin Law clanlaw at googlemail.com
Thu Mar 7 13:46:05 UTC 2013


On 7 March 2013 13:28, Charles Smith <cts.private at yahoo.com> wrote:
> 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

What happens if you run with sudo?

Colin




More information about the ubuntu-users mailing list