All command need privilage
- by Am1rr3zA
I try to install Hping3 in my ubuntu 8.04 but after installation when I want to 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
priviledges 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
priviledges associated with your user
account.
first it needs to run sudo su and then run the command. is it normal? or I miss 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/