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 ftpdTo:ftp stream tcp nowait root /etc/ftpd ftpd -a2. 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 pagesta109467, "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?"