简体   繁体   中英

Android adb shell ping - This version of ping should NOT run with privileges. Aborting

I am trying to perform a ping via adb shell on a Galaxy S5. I am able to perform this same ping command without issue on a Galaxy S4. Does anyone know how to bypass this? "This version of ping should NOT run with privileges. Aborting"

Ping commands:

adb shell
ping www.google.com

将ping的权限(/ system / bin /中的文件)从rwsr-xr-x更改为rwxr-xr-x,就完成了!

If "root", run ping as "net_raw" user:

su net_raw
ping www.google.com

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM