On Mon, 10 Sep 2007, Dan Candea wrote:
ssh -t -n -ostricthostkeychecking=no xxxxxx ksh -c 'test -f /etc/profile &&
. /etc/profile; test -f /$HOME/.profile && . /$HOME/.profile;uname -a;echo
PS1=$PS1'
(1).
ssh xxxxxx
xxxxx:/lfs/opt/nagios $ echo $PS1
xxxxx:$PWD $
(2)
In cazul (2) folosesti shell-ul default (care poate fi si bash,
care are sigur PS1), pe cind in cazul (1) fortezi la ksh. Sigur ala are
PS1 definit prin vruen RC de-al lui daca nu-l mosteneste eventual de la un
bash din care-l lansezi cind te loghezi?
Btw, /bin/sh ar trebui sa aiba cam toate, de ce nu te legi de ala?
--
Any views or opinions presented within this e-mail are solely those of
the author and do not necessarily represent those of any company, unless
otherwise expressly stated.
_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug