Quote:
Originally Posted by ChrisAbela
Can you give the response for:
#echo $PS1
when connected via SSH?
Are you inheriting the environment variables?
# env
As you wrote, they are inherited from /etc/profile, $HOME/.bash_profile and $HOME/.bashrc
As you are aware of some wrong permissions you specified, did you correct them exactly as they were before?
|
Hello,
This is what I get from echo $PS1 [\u@\h \W]\$
env
OSTNAME=101/udp
TERM=linux
SHELL=/bin/bash
HISTSIZE=1000
KDE_NO_IPV6=1
SSH_CLIENT=24.24.5.73 28957 22
QTDIR=/usr/lib/qt-3.3
QTINC=/usr/lib/qt-3.3/include
SSH_TTY=/dev/pts/3
USER=keyboard112
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36
i=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01
r=40;31; 01:su=37;41:sg=30;43:tw=30;42
w=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=0 1;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.ja r=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=0 1;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01; 35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.flac=01;35:*.mp3=01;35:*. mpc=01;35:*.ogg=01;35:*.wav=01;35:*.php=01;31:*.html=01;31:*.htm=01;31:
SSH_AUTH_SOCK=/tmp/ssh-yzgXt11480/agent.11480
KDEDIR=/usr
MAIL=/var/spool/mail/keyboard112
PATH=/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/keyboard112/bin
INPUTRC=/etc/inputrc
PWD=/home/keyboard112
LANG=en_US.UTF-8
KDE_IS_PRELINKED=1
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SHLVL=1
HOME=/home/keyboard112
LOGNAME=keyboard112
QTLIB=/usr/lib/qt-3.3/lib
CVS_RSH=ssh
SSH_CONNECTION=24.24.5.73 28957 192.168.2.138 22
LESSOPEN=|/usr/bin/lesspipe.sh %s
G_BROKEN_FILENAMES=1
_=/bin/env
I see it listed next to the HOSTNAME, why would that have been changed this way?
Thanks again
Keith