ping: icmp open socket: Operation not permitted 的解决办法
2011-08-08 13:28
519 查看
简介:
ping: icmp open socket: Operation not permitted 的解决办法
为 ping 加上 suid 即可。
Author:yangyingchao, 2010-11-03
ping: icmp open socket: Operation not permitted 的解决办法
为 ping 加上 suid 即可。
yyc@localhost ~ $ sudo route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.190.40.0 * 255.255.254.0 U 2 0 0 eth0 loopback localhost 255.0.0.0 UG 0 0 0 lo default 10.190.40.1 0.0.0.0 UG 2 0 0 eth0 yyc@localhost ~ $ ping 10.190.40.1 ping: icmp open socket: Operation not permitted yyc@localhost ~ $ ls -l /bin/ping -rwxrwxrwx 1 root root 34628 9月 2 12:15 /bin/ping yyc@localhost ~ $ sudo chmod u+s /bin/ping yyc@localhost ~ $ ls -l /bin/ping -rwsrwxrwx 1 root root 34628 9月 2 12:15 /bin/ping yyc@localhost ~ $ ping 10.190.40.1 PING 10.190.40.1 (10.190.40.1) 56(84) bytes of data. 64 bytes from 10.190.40.1: icmp_req=1 ttl=255 time=0.871 ms 64 bytes from 10.190.40.1: icmp_req=2 ttl=255 time=0.865 ms ^C --- 10.190.40.1 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 0.865/0.868/0.871/0.003 ms |
相关文章推荐
- ping: icmp open socket: Operation not permitted 的解决办法
- ping: icmp open socket: Operation not permitted的解决办法
- ping: icmp open socket: Operation not permitted 的解决办法
- 解决:Ubuntu12.04下使用ping命令返回ping:icmp open socket: Operation not permitted的解决
- 解决:Ubuntu12.04下使用ping命令返回ping:icmp open socket: Operation not permitted的解决
- Linux操作提示:“Cant open file for writing”或“operation not permitted”的解决办法
- linux操作提示:“Can't open file for writing”或“operation not permitted”的解决办法
- SVN的Not authorized to open root of edit operation解决办法
- Redhat 出现丢包解决方法(ping: sendmsg: Operation not permitted)
- XenOprof 错误 Failed to open profile device: Operation not permitted 的解决
- ASM 实例 ORA-15063 ORA-15186 ASMLIB error function = [asm_open], error = [1], mesg = [Operation not permitted] 解决方法
- ASM 实例 ORA-15063 ORA-15186 ASMLIB error function = [asm_open], error = [1], mesg = [Operation not permitted] 解决方法
- ASM 实例 ORA-15063 ORA-15186 ASMLIB error function = [asm_open], error = [1], mesg = [Operation not permitted] 解决方法
- npm install 安装软件,出现 operation not permitted, mkdir 解决办法
- ASM 实例 ORA-15063 ORA-15186 ASMLIB error function = [asm_open], error = [1], mesg = [Operation not permitted] 解决方法
- 解决Linux系统 ping: sendmsg: Operation not permitted 问题
- ASM 实例 ORA-15063 ORA-15186 ASMLIB error function = [asm_open], error = [1], mesg = [Operation not permitted] 解决方法
- ASM 实例 ORA-15063 ORA-15186 ASMLIB error function = [asm_open], error = [1], mesg = [Operation not permitted] 解决方法
- cygwin ping: socket: Operation not permitted
- ASM 实例 ORA-15063 ORA-15186 ASMLIB error function = [asm_open], error = [1], mesg = [Operation not permitted] 解决方法