From: Bryon Nicoson <bnico@ice.net>
To: aaron.smith@ssc.sniemens.com
Subject: Re: FTP issue
Date: 1996/10/10 [thread overview]
Message-ID: <325D602F.1DBBEFD9@ice.net> (raw)
In-Reply-To: 325D0BF8.45C088CF@ice.net
[-- Attachment #1: Type: text/plain, Size: 188 bytes --]
Bryon Nicoson wrote:
^cut out all of the previous message and then
Attached are instructions for installing anonymous ftp on dunix. I
received these from DEC Support today.
[-- Attachment #2: temp --]
[-- Type: text/plain, Size: 2361 bytes --]
----------------------------------------------------------------------------
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.
next prev parent reply other threads:[~1996-10-10 4:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-10-02 4:00 FTP issue aaron smith
1996-10-07 4:00 ` Robin Shahan
1996-10-10 4:00 ` Bryon Nicoson
1996-10-10 4:00 ` Bryon Nicoson [this message]
1996-10-15 4:00 ` axbergk
1996-10-11 4:00 ` Dave Wotton
1996-10-11 4:00 ` Don Melano
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox