[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-developers] bash



when i run the set command in my raq 3 it displays the next :
BASH=/bin/sh
BASH_VERSION=1.14.7(1)
COLUMNS=132
EUID=0
HISTFILE=/root/.bash_history
HISTFILESIZE=1000
HISTSIZE=1000
HOME=/root
HOSTNAME=diablo.disvirtual.com
HOSTTYPE=i386
IFS=

INPUTRC=/etc/inputrc
LANGUAGE=en_US
LINES=49
LOGNAME=admin
MAIL=/var/spool/mail/admin
MAILCHECK=60
OPTERR=1
OPTIND=1
OSTYPE=Linux
PATH=/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin
PPID=896
PS1=[\u@\h \W]\$
PS2=>
PS4=+
PWD=/home/sites/home/users/admin
SHELL=/bin/sh
SHLVL=3
TERM=vt100
UID=0
USER=admin
_=ifconfig



how i can change the path environment so when root is loged in from the ssh
client we can have /sbin directory in the path environment variable?

i tried export PATH = "$path:/sbin/" and it didn't work


any help ?