This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Virus Found
Troy Noble wrote:
>>How about a port of 'fortune' with a custom 'tips' database? Put it in
>>the default /etc/profile...
>>
>
>>--Chuck
>>
>
> I do like that idea, however...
>
> I know some versions of Unix rcp client used to get confused if
> the shell startup scripts (like ~/.profile or /etc/profile)
> on the target machine emit any output to stdout.
>
> Don't know if scp suffers from the same malady, but making the
> /etc/profile spit out information to stdout might obviate the
> need for users of scp, rcp, rsh to go remove the fortune invocation
> from /etc/profile.
>
> introducing yet another FAQ ;->
>
> Just my $0.02, a throwback from my former Unix admin days.
No, the machines I use at work spit stuff out to stdout, and I use scp
all the time:
scp majors.htm cwilson@xxxx:
cwilson@xxxx's password:
stty: : Invalid argument
stty: : Invalid argument
scp: warning: Executing scp1 compatibility.
majors.htm 100% |*****************************| 293 KB 00:04
That stty: warning is coming from the .cshrc file on the remote machine,
but it doesn't interfere with the file transfer.
--Chuck
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/