EAP: Can't run ping from inside (logged in via SSH)
Hi all,
Anyone got ping working from inside EAP's Busybox? Because it asks for being executed with root permisions.
Thanks in advance,
Olivia
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
Hi Olivia,
Now we cannot use the ping command from inside(logged in via SSH), but we have plan to optimize the feature, thank you for your feedback.
- Copy Link
- Report Inappropriate Content
forrest wrote
Now we cannot use the ping command from inside(logged in via SSH), but we have plan to optimize the feature, thank you for your feedback.
Hello @forrest,
ping requiring root permissions was a bug introduced into some Linux distros due to the package maintainers not updating the ping/busybox packages when kernel policy did change.
You can correct this by replacing busybox ping with the standard command and either setting the SETUID bit for ping or by granting ping the right to use raw sockets if your Linux version running on EAP supports extended file attributes. Newer Linux distros have corrected this bug in the ping package already.
See https://superuser.com/questions/1035977/why-does-ping-require-the-setuid-bit for more info on this.
- Copy Link
- Report Inappropriate Content
R1D2 wrote
forrest wrote
Now we cannot use the ping command from inside(logged in via SSH), but we have plan to optimize the feature, thank you for your feedback.
Hello @forrest,
ping requiring root permissions was a bug introduced into some Linux distros due to the package maintainers not updating the ping/busybox packages when kernel policy did change.
You can correct this by replacing busybox ping with the standard command and either setting the SETUID bit for ping or by granting ping the right to use raw sockets if your Linux version running on EAP supports extended file attributes. Newer Linux distros have corrected this bug in the ping package already.
See https://superuser.com/questions/1035977/why-does-ping-require-the-setuid-bit for more info on this.
Hi R1D2,
Thanks for your suggestion. Now we have a limit for the ping command in our EAP products; we will consider opening this feature up.
- Copy Link
- Report Inappropriate Content
Information
Helpful: 0
Views: 2268
Replies: 3
Voters 0
No one has voted for it yet.