linuxdeploy icon indicating copy to clipboard operation
linuxdeploy copied to clipboard

Enable all access to root user in buster (ex: ping not working)

Open Schlew opened this issue 3 years ago • 9 comments

Hi,

After the successfull installation of debian Buster, I noticed that root user can't use the ping command (socket: Permission denied). Normal user can use it (with command sudo ping result is the same as root user). Any idea to enable this for root user? Thanks a lot. Schlew

Schlew avatar Jan 19 '21 17:01 Schlew

Hi! Nobody can help me or have the same pb? Linux deploy version: 2.6.0-259 Android version: 8.0.0 Magisk version: 20.4 Tested with armhf or arm64. Thanks

Schlew avatar Jan 21 '21 17:01 Schlew

Similar problem, but pinging in general does not work. Using Arch.

algj avatar Jan 26 '21 00:01 algj

I answer myself: add these two line in etc/group: inet:x:3003:root net_raw:x:3004:root and reboot! Hope this help!

Schlew avatar Jan 29 '21 17:01 Schlew

:x: = ": x :" without space and "

Schlew avatar Jan 29 '21 17:01 Schlew

Sadly this did not work for me: /etc/group

inet:x:3003:root
net_raw:x:3004:root

My problem is that ping does not even output anything, it's like it has frozen. Btw, I use Arch.

algj avatar Jan 31 '21 16:01 algj

It seems that ping command itself is not working for me, but using node.js with icmp module it seems that it is working. It seems that there's an issue with arch ping command or something else, if someone has the same problem you might want to try installing bwping (c, seems to work for me, does not have same interface as an usual ping) or 2ping (python, did not work for me).

algj avatar Jan 31 '21 18:01 algj

same problem here Only fixed If I reboot my android.

eusoubrasileiro avatar May 21 '21 00:05 eusoubrasileiro

inet:x:3003:root net_raw:x:3004:root Only fixed If I reboot my android.
Thank you so much

okkokr avatar Feb 07 '23 09:02 okkokr

ping: socket: Operation not permitted doesn't work here

devimauz avatar Jul 21 '23 23:07 devimauz