Technical article 109473

Preventing "220-" displaying when an ftp client connects to ftpd(ADMN).

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4

Written · Last revised

Problem

When connecting to ftpd(ADMN), this message is displayed:

220- 220 mysystem FTP server (Version 2.1WU(1)) ready. Name (mysystem:mylogin):

Can ftpd(ADMN) be configured to prevent "220-" from being printed?

Cause

ftpd(ADMN) uses "220-" to separate the banner message from the login prompt.

By default, ftpd(ADMN)'s banner entry in:
/etc/ftpaccess
refers to /etc/issue.

On most systems this is an empty file, so all that is displayed is the separator.

Solution

Edit /etc/ftpaccess and comment out the banner entry.

Change the line that reads:
banner  /etc/issue
to:
#banner  /etc/issue

The change will be reflected the next time an ftp client connects to ftpd(ADMN).

See also

The manual pages for ftpd(ADMN), ftpaccess(SFF)

From the Xinuos technical article database, record 109473. Reproduced with permission. The original is at www.sco.com/ta/109473, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.