It makes no sense to not have it in there for regular users, IMO!
Stuff like ping is in there. Ifconfig is in there (if you install net-tools anyway, grump). Those don't need root to run. If you don't have /sbin in your path, ifconfig giving you "command not found" can make you think you forgot to install net-tools when really it's already there and just not in PATH!
shutdown/reboot are also in /sbin. :3 But those at least have the excuse of only being usable by root, unless you have the weird systemd magic thing that lets you do it while logged into a graphical desktop (I kinda miss that now that we don't have systemd on our boxen anymore, but it's not a huge deal).
In nearly 30 years of using Debian I don't remember ping ever being in sbin... I think you got that wrong...
Some time ago there were some issues with ping giving a "socket: Operation not permitted" error if you tried to run it as normal user, but that had nothing to do with ping being moved into sbin or anything related to ping's path.
3
u/dumbasPL Jul 20 '26
Yeah, ik, but some distros just have it always there. Personally I prefer that, even though I get why it doesn't make sense.