Stefan Weimar <
usene...@meinhop3.de> wrote:
>Als root oder als User gestartet? Standard auf Debian ist (seit
>Neuestem?), /bin/ping nicht setuid zu setzen, da darf dann nur noch root
>pingen.
soso.
|mh@swivel:~ $ ping -c 1 8.8.8.8
|PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
|64 bytes from
8.8.8.8: icmp_seq=1 ttl=47 time=20.9 ms
|
|--- 8.8.8.8 ping statistics ---
|1 packets transmitted, 1 received, 0% packet loss, time 0ms
|rtt min/avg/max/mdev = 20.901/20.901/20.901/0.000 ms
|mh@swivel:~ $ sudo getcap $(which ping)
|/bin/ping = cap_net_raw+ep
|mh@swivel:~ $ ls -al $(which ping)
|-rwxr-xr-x 1 root root 60K Nov 10 07:23 /bin/ping*
|mh@swivel:~ $
Es gibt auch Wege, pingen zu können ohne root zu sein.
Grüße
Marc
--
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber | " Questions are the | Mailadresse im Header
Mannheim, Germany | Beginning of Wisdom " |
http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834