Quote:
Originally Posted by murshed
woow .. it worked ..
it worked when i did su - ... and i did the . thingy and worked  then i did /sbin to the user's path by:
PATH=$PATH:/sbin
and i could ifconfig wherever the user is
thanks all
best regards
|
Hi, you can add DOT in to ~/.bash_profile
$ su
$ vi[or emacs] ~./bash_profile
you will see PATH=$PATH:$HOME/BIN then edit like PATH=$PATH:$HOME/BIN:.
==>> add :. in the end of BIN
mMay be restar your system to take effect