---------------------------------------------------------------------------- Instructions for adding anonymous ftp to OSF. --------------------------------------------------------------------------- Step 1: Use the "adduser" utility to add a new user called ftp. The new user, ftp, should belong to the group ftp. When prompted for the group that ftp should be in, answer ftp. Adduser will then prompt you if it should create the new group, answer "yes". The new user, ftp, should have a home directory of /usr. The default shell is fine, you will be modifying it. The new passwd should be set to "anonymous". After the adduser script has run, the newly created account has an entry in the /etc/passwd file such as: ftp:mEFyvztssXGZk:269:79:anonymous ftp:/usr/ftp:/bin/csh The encoded passwd and uid will most likey be different at your site. Next, edit /etc/passwd and modify the new users login shell for /usr/ucb/ftp. The changed entry will look like: ftp:mEFyvztssXGZk:269:79:anonymous ftp:/usr/ftp:/usr/ucb/ftp Step 2: Now that you have created the new ftp account, you will need to setup some new directories in it. 1) cd /usr/ftp 2) mkdir etc pub (if bin does not exist, the create it) 3) cp /sbin/ls /usr/ftp/bin 4) cp /etc/passwd /usr/ftp/etc 5) cp /etc/group /usr/ftp/etc 6) cp /etc/svc.conf /usr/ftp/etc 7) chown -R ftp * 8) chown ftp /usr/ftp 9) chmod -w /usr/ftp 10) chmod 111 /usr/ftp/bin/ls 11) chmod -w /usr/ftp/bin 12) chmod 444 /usr/ftp/etc 13) chmod -w /usr/ftp/etc 14) chmod 777 /usr/ftp/pub (this will enable writing) Step 3: This concludes the anonymous ftp setup. Any files that you wish the public to read will go in /usr/ftp/pub. Step 4: Testing: ftp to the host that you just created the anonymous ftp account: In my example, my hosts is called twonix. csh>ftp twonix Connected to nodename.cxo.dec.com. 220 nodename.cxo.dec.com FTP server (Version 4.1 Sun Mar 25 18:16:27 EST 1990) ready. Name (nodename::username): anonymous Password:anonymous 230 Guest login ok, access restrictions apply. ftp>cd pub ftp> Please contact the Customer Support Center if you have any questions on this procedure or need further assistance in any way. Thankyou.