WinSCP error while connecting to root
Kevin Sindhu
kevin at tgivan.com
Sat Mar 31 03:30:51 EST 2001
Hello,
As Damien pointed out, your login makes a lot of noise...and yes, you
can blame HP-UX for the same*grin*
Either, case, for now, can you try this workaround..
The following code in /etc/profile prints the copyright notice the first
time each user logs in:
NUMLOGINS=`/etc/last -2 $LOGNAME | wc -l`
if [ $NUMLOGINS -lt 2 ]
then
cat /etc/copyright
fi
And, for /etc/csh.login:
set NUMLOGINS=`/etc/last -2 $LOGNAME | wc -l`
if ( $NUMLOGINS<2 ) cat /etc/copyright
(Actually, each user will get the copyright on their first login after
each
time the /etc/wtmp file is pruned, but that needn't be often.)
So, You can either take it out, or
#cp /etc/copyright /etc/copyright.org
#echo "Welcome to `uname -a` > /etc/copyright
Which should solve your problem...
-Kevin
Damien Miller wrote:
>
> You shell initialisation seems to be producing a lot of noise.
>
> http://www.openssh.com/faq.html#2.8
>
> -d
>
> --
> | Damien Miller <djm at mindrot.org> \ ``E-mail attachments are the poor man's
> | http://www.mindrot.org / distributed filesystem'' - Dan Geer
--
Kevin Sindhu
Systems Engineer E-Mail: kevin at tgivan.com
TGI Technologies Inc. Tel: (604) 872-6676 Ext 321
107 E 3rd Ave, Fax: (604) 872-6601
Vancouver,BC V5T 1C7
Canada.
More information about the openssh-unix-dev
mailing list