a-Shell-commands
a-Shell-commands copied to clipboard
Network commands
How do you add more network commands? I was trying traceroute but command not found.
Most network commands have to be compiled natively, since they need access to system calls. So they cannot be added after the app has been submitted. I regularly add new commands to the binaries that are embedded with the app.
traceroute, specifically (and all the commands with the same functionality) require root privilege in order to run. So it cannot be added to an official app approved on the AppStore.
Hey I would like to work on this issue. Can you assign me.
traceroute, specifically (and all the commands with the same functionality) require root privilege in order to run. So it cannot be added to an official app approved on the AppStore.
that can’t be true as HE Network Tools has traceroute functionality. Besides that, it can be run without root on Linux, so it can possibly need so many permissions
I cannot comment on HE Network Tools, but for all Unix machines including Linux, if you take a close look at the traceroute binary:
% which traceroute
/usr/sbin/traceroute
% ls -l /usr/sbin/traceroute
-r-sr-xr-x 1 root wheel 171856 19 Jul 05:08 /usr/sbin/traceroute
you'll see that it is a binary that belongs to root (which is normal), with an s instead of an x in execution permission, which means that when it's launched by a user, it will run with the same permissions as if it had been launched by the owner, in this case root.