Unix administration - ftp -- passive mode by default?

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > March 2007 > ftp -- passive mode by default?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author ftp -- passive mode by default?
hymie!

2007-03-29, 1:24 pm

I have a Solaris 8 box. In addition to the default /usr/bin/ftp , it also
has a /usr/local/bin/ftp , that I can't identify the origin of. (will
pkginfo take a file as an argument as identify what package it came from?)

We have a new firewall, and FTP must now be passive mode. /usr/bin/ftp
does not support passive mode, so I'm planning to replace it with
/usr/local/bin/ftp which does. However, I'm hoping there is a way to
force ftp to use passive mode by default, instead of telling everybody that
they have to issue the "passive" command every time they ftp.

Any thoughts?

Thanks.

hymie! http://www.smart.net/~hymowitz hymie_@_lactose.homelinux.net
========================================
=======================================
Stephane CHAZELAS

2007-03-30, 7:17 am

2007-03-29, 07:48(-05), hymie!:
> I have a Solaris 8 box. In addition to the default /usr/bin/ftp , it also
> has a /usr/local/bin/ftp , that I can't identify the origin of. (will
> pkginfo take a file as an argument as identify what package it came from?)
>
> We have a new firewall, and FTP must now be passive mode. /usr/bin/ftp
> does not support passive mode, so I'm planning to replace it with
> /usr/local/bin/ftp which does. However, I'm hoping there is a way to
> force ftp to use passive mode by default, instead of telling everybody that
> they have to issue the "passive" command every time they ftp.

[...]

Why not replacing it with lftp instead?

Then put

set ftp:passive-mode on

in

/etc/lftp.conf

(or /usr/local/etc/lftp.conf... depending on how you install it)

--
Stéphane
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com