Technical article 117265

FTPD 'guest' account users can access the server's root directory after installing the rs506a supplement.

OpenServer 5.0.6

Written · Last revised

Problem

After installing the rs506a supplement 'guest' account users can access the server's root directory.

Guest accounts allow a user to log in with a preassigned username and password like real accounts, but are restricted to what files they can access, similar to the anonymous account. Effectively, they are passworded anonymous FTP accounts.

NOTE: Anonymous FTP access is not affected by this issue and users
      logging in through this method are correctly placed into the
      restricted area.  No access to the server's root directory is
      possible for users logged in through this method.

Cause

The FTPD daemon was updated as part of the rs506a supplement and its
default behavior changed.  The default for FTPD is to now ignore the
/etc/ftpaccess file, which controls access to the server.

Solution

Because this issue could allow a user to access the server's root directory, it is recommended that the startup behavior be changed so that the /etc/ftpaccess file is required and used. To do that, please take the following steps:

1. Use your favorite text editor to edit /etc/inetd.conf and change the following line:

From:
ftp     stream  tcp     nowait  root    /etc/ftpd       ftpd
To:
ftp     stream  tcp     nowait  root    /etc/ftpd       ftpd -a

2. Signal inetd to reread its configuration file.

As root, run the following:
# ps -ef |grep inetd                          // to find the PID of inetd
# kill -1  PID_of_inetd

See also

ftpd(ADMN); ftpaccess(SFF) man pages

ta109467, "How do I set up guest ftp on SCO OpenServer 5.0.x?"

ta114602, "After installing rs506a, changes made to /etc/ftpaccess are not being recognized."

ta113341, "What problems are fixed in Release Supplement 506a for SCO OpenServer Release 5.0.6?"

From the Xinuos technical article database, record 117265. Reproduced with permission. The original is at www.sco.com/ta/117265, which is reachable but blocked from search engines.

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.