I've installed Hping3 on my Ubuntu 8.04, but after installation when I want to use Hping3 I got this error:
Command 'hping3' is available in '/usr/sbin/hping3'
The command could not be located because '/usr/sbin' is not included in
the PATH environment variable.
This is most likely caused by the lack of administrative privileges
associated with your user account.
also when I try to run ifconfig
I get this:
Command 'ifconfig' is available in '/sbin/ifconfig'
The command could not be located because '/sbin' is not included in
the PATH environment variable.
This is most likely caused by the lack of administrative privileges
associated with your user account.
First I need to run sudo su
and then run the command. Is this normal? Or am I missing something?
when I run echo $PATH
I get:
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/home/amirreza/simulator/ns-allinone-2.33/bin:/home/amirreza/simulator/ns-allinone-2.33/tcl8.4.18/unix:/home/amirreza/simulator/ns-allinone-2.33/tk8.4.18/unix:/home/amirreza/simulator/ns-allinone-2.33/ns-2.33/:/home/amirreza/simulator/ns-allinone-2.33/nam-1.14/