James Ervin wrote:
> I have a script that needs to work with tcpdump. This worked prior to
> upgrading from 6.1 to 6.2. Now, even if I set the suid bit on
> /usr/sbin/tcpdump, is still fails to allow a user to run the script. Take
> a look:
>
> [root@kites /]# ls -al /usr/sbin/tcpdump
> -rwxr-xr-x 1 root root 210096 Feb 17 2000 /usr/sbin/tcpdump
> [root@kites /]# chmod u+s /usr/sbin/tcpdump
> [root@kites /]# ls -al /usr/sbin/tcpdump
> -rwsr-xr-x 1 root root 210096 Feb 17 2000 /usr/sbin/tcpdump
> [root@kites /]# chown root:root /usr/sbin/tcpdump
> [root@kites /]# ls -al /usr/sbin/tcpdump
> -rwsr-xr-x 1 root root 210096 Feb 17 2000 /usr/sbin/tcpdump
> [root@kites /]# exit
> exit
> [james@kites net]$ /usr/sbin/tcpdump
> tcpdump: socket: Operation not permitted
>
> Any ideas would be appreciated as I would like to get this back
> working. Do users need to be able to read something under /dev to make
> this work now?
James
I don't know what the problem is but I usually install and setup sudo for stuff
like this. Is is very fine grained in the control it can allow. You might
want to check it out.
Bret
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list