Quote:
Originally posted by xtomey
Hi, on my linux box i am trying to access the traceroute command as a normal user but i am unable to. the command exists in /usr/sbin The only way i can use traceroute is if i cd into the /sbin directory.
How do i make the commands in that directory usable by me in my home directory without having to cd into /usr/sbin??
ps- other commands work in my home directory such as ping, netstat, ..... but not traceroute :(
The reason they're stored in /usr/sbin is usually because they contain functionality that can only be used by root. Indeed, when i run traceroute, there is an option to set the source IP, something that only root can do. I would leave it the way it is and simply su to root when you need to use it.