ping a chyba icmp
Milan Kerslager
milan.kerslager na spsselib.hiedu.cz
Čtvrtek Leden 4 23:37:20 CET 2001
On Thu, 4 Jan 2001, Stanislav PETR wrote:
> Mam takovy problem, pokus se na server prihlasim, jako normalni
> uzivatel, nefunguje ping ani traceroute. Viy vypis:
>
> [glux na attoservis glux]$ ping www.seznam.cz
> ping: icmp open socket: Operation not permitted
chmod u+s `which ping`
To, ze chybi SUID bit by se dalo poznat treba takhle (-V kontroluje
soubory podle udaju v RPM databazi):
# which ping
/bin/ping
# chmod -s /bin/ping
# rpm -qf /bin/ping
iputils-20001010-1
# rpm -V iputils
.M...... /bin/ping
# chmod u+s /bin/ping
# rpm -V iputils
# ls -l /bin/ping
-rwsr-xr-x 1 root root 22108 říj 10 22:18 /bin/ping
#
--
Milan Kerslager
E-mail: milan.kerslager na spsselib.hiedu.cz
WWW: http://www.spsselib.hiedu.cz/~kerslage/
Další informace o konferenci Linux