Operating System - HP-UX
1838143 Members
5270 Online
110124 Solutions
New Discussion

Clarification of ftpd set-up

 

Clarification of ftpd set-up

Hello,

Currently I am trying to set-up our system (11.11) to accept guest ftp logins. However I'm unsure which version of ftpd I'm using (so that I can work out how to configure ftpaccess etc).

Typing ftp 0 produces:

220 mimas FTP server (Version 1.1.214.4(PHNE_23950) Tue May 22 05:49:01 GMT 2001) ready.
Name (0:root):

I think this means I'm not running wu-ftp, is this correct?

If I'm right, what am I running?, is it HP's own version of wu-ftp as I had read that it is part of 11.11?

I've searched quite a lot through the forum and found lots of hints on configuring guests users. However from what I can tell, I firstly need to know what ftpd software I'm using as that affects if I use the 'guest-root' clause or the '/./' trick to do the guest chroot'ing.

Thank
4 REPLIES 4
Steve Steel
Honored Contributor

Re: Clarification of ftpd set-up

Hi


From

Installing and Administering IPFilter/9000

WU-FTPD on HP-UX



The HP implementation of the FTP daemon for HP-UX 11i core networking is based on the WU-FTPD daemon, version 2.4. Additional security correction has been added to WU-FTPD 2.6.1. HP recommends upgrading to WU-FTPD 2.6.1 for enhanced security. For systems on HP-UX 11.0, you can upgrade to WU-FTPD 2.6.1 from either the legacy FTP version that is delivered with the core networking products on 11.0, or from WU-FTPD 2.4, which has been made available as the patch PHNE_21936.WU-FTPD 2.6.1 is downloadable from the HP Software Depot for systems running HP-UX 11.0 or 11i. The URL is http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProduct Info.pl?productNumber=3DWUFTPD26


You have Version 1.1.214.4


Get wu from
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProducts.pl?group_type=search&group_name=wu-ftpd&search_free=1&search_trial=1&search_buy=1

Steve steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Sebastian Galeski_1
Trusted Contributor

Re: Clarification of ftpd set-up

few tips for You:
1.The new version of ftp shipped with 11.x is based on Washington
University FTP and commonly called WU-FTP. This updated version of ftp
was never backported to 10.X versions of HP-UX by HP. Several public domain
versions may be downloaded and run on HP 10.X servers; however, this ftp
software is not currently supported by Hewlett Packard.

To download public domain versions of WU-FTP:
1. Go to the Public Domain website: http://hpux.cs.utah.edu/
2. Enter wu-ftp in the search criteria field.
3. Click Search and the products available for download will be returned.

2.Before hostname and ftp version information can be suppressed reliably on
HP-UX 11.0 the ftp patch [PHNE_21936/PACHRDME/English] (or later) should be installed. On later
HP-UX 11.X version, the patch is not a prerequisite. If you install a patch,
note any customizations in /etc/ftpd/ftpaccess and save a backup copy in
/etc/ftpd/ftpaccess.old. Then make sure to copy the ftpaccess
file from /usr/newconfig/etc/ftpd/ftpaccess to
/etc/ftpd/ftpaccess.

In the /etc/inetd.conf file, verify that the -a option is added
to the ftpd daemon to allow use of the ftpaccess file.

To suppress version and hostname the following lines will need to be added into
the /etc/ftpd/ftpaccess file. These are:

suppresshostname yes

suppressversion yes

For any other messages that may need to be displayed before the login prompt,
add:

banner

Then execute:

# inetd -c

to reread in the inetd.conf file and use the ftpaccess file.

Some information will show up even with the hostname and version suppressed,
but if a comparison is done between the two, the difference can be easily seen.

Here is an example to a non-suppressed server:
# ftp servername
Connected to servername.hp.com.
220 servername.hp.com FTP server (Version 1.1.214.7 Thu Aug 10 09:57:38 GMT
2000) ready.
Name (servername:username):


and here is an example to a suppress server:
# ftp servername
Connected to servername.hp.com.
220 FTP server ready.
Name (servername:username):

This information and more can be seen in the man page for ftpaccess.


hope it help you

Re: Clarification of ftpd set-up

Hi Steve,

Thanks for the info. Can you show me a link for where HP
recommendeds that an upgarde to 2.6.1 is needed? I do
believe you but I need to see
it direct from HP.

Presumably once we have v2.6.1 then I will be able to configure
my ftpaccess file properly using the 'guest-root' clause
instead of '/./'.

Thanks.




Hi Sebastian,

Thanks for your tips, i'll be using them later when I know
what version of ftpd I have. I'll defienetly be making a
copy of my current ftpaccess file when upgrading!

Thank
Sebastian Galeski_1
Trusted Contributor

Re: Clarification of ftpd set-up

Before You decide to upgrade to 2.6.1 You should know about one bug:

wu-ftpd 2.6.1(HP-UX 11.0 and 11.11) doesn't read ftpusers.

regards Seba