Problem
I created an anonymous ftp account per the instructions in SCOhelp under the SCO OpenServer 5.x Networking Guide. Step 3 states the following:
3. Create a symbolic link to the ftp home directory as follows:
ln -s <homedir> /usr/internet/ip/0.0.0.0/sco_ftpwhere <homedir> is the location of the home directory you specified when creating the ftp account.
The command results in this message: ln: cannot create symbolic link
/usr/internet/ip/0.0.0.0/sco_ftp: No
such file or directory (error 2)The /usr/internet/ip/0.0.0.0 directory does not exist. I then
created the 0.0.0.0 directory:cd /usr/internet/ip
mkdir 0.0.0.0I was then successful at executing the link command in step 3.
Following the rest of the instructions, I was able to successfully create the anonymous ftp account and to ftp in from a remote system. However, I can change directory (cd) to any directory on the system. As an anonymous ftp user, I should be restricted from moving outside my created directory tree.
Cause
There is no instruction for setting the ftp account as restricted
in step 2. Step 2 currently reads:2. Create a user called ftp with the Account Manager. Do not set the password when creating the user.
Solution
To work around this, replace step 2 with the following:
2. Create a user called ftp with the Account Manager. Change the shell for the ftp user from "sh" to "rsh". rsh is a restricted shell. Do not set the password when creating the user.
This problem has been reported to SCO Engineering.