Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: axbergk@.hqpacaf.af.mil (Kris Axberg)
Subject: Re: FTP issue
Date: 1996/10/15	[thread overview]
Message-ID: <541lce$sqb@paf-news.hqpacaf.af.mil> (raw)
In-Reply-To: 325D602F.1DBBEFD9@ice.net


In article <325D602F.1DBBEFD9@ice.net>, Bryon Nicoson <bnico@ice.net> wrote:
>This is a multi-part message in MIME format.
>
>--------------52E45C031267F1E9722798D4
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>
>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.
>
>--------------52E45C031267F1E9722798D4
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>Content-Disposition: inline; filename="temp"
>
>----------------------------------------------------------------------------
>             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

DEC is telling you to copy your original system passwd, group, and svcs file 
to the ftp environment?  WOW!!!  Please do not do this!  There is a good Anon 
FTP FAQ available on the net, as well as a Wuftpd FAQ and software available.
This is a much more secure anon ftp pkg than the instructions above.  
Especially from the looks of your passwd file.....no shadow file?  
Get the FAQ...it is at ftp.iss.net. or just do a search for anon ftp

Kris

>   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.
>    
>
>
>--------------52E45C031267F1E9722798D4--
>



  reply	other threads:[~1996-10-15  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
1996-10-15  4:00       ` axbergk [this message]
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