How do I get rid of "the path is /usr/sbin/[command]"?

So how do I get rid of the “The absolute path of [command] is /usr/sbin/[command] so it may require super user permissions” error in the shell? I’d rather have a command error out due to no privileges than to be forbidden from running it/having to type the entire path to it, especially that even innocent commands that run totally fine without root are in /usr/sbin, such as traceroute.

Add /usr/sbin to your user’s path.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.