🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.ip.support.atari
Article #1505

Re: NOS and FTP sites

#1505
From: Brian Dew
Date: Tue, 11 Jun 1996 00:00
102 lines
3716 bytes
Just to avoid total confusion brian@myriad-s.com is brian@zing.demon.co.uk...
So... Anyway, my other self said...

In article <834449950snz@myriad-s.com> brian@myriad-s.com "Brian Dew" writes:

> 
> I used to have this set up. I've already told Phil I'll try to remember
> how... When I've got it re-worked out I'll post the answer here.
> 
Which was about how to set up NOS to act as an FTP site.

First: the FTPUSERS file
========================

Need to create a file in the directory with NOS.TTP in.
This file can be created with any text editor and should be called FTPUSERS

Each line of the FTPUSERS file is for one user who is allowed to log into
your computer using FTP.

Each line has four fields:
   1. the user name (what they type in at the login or user prompt)
   2. a password
   3. the name of the directory they are allowed to access
   4. the permissions you are going to grant them on your computer.

Here's one I prepared earlier.
--------------------------------
guest atomic G:\pub\ 1
--------------------------------

MAKE SURE YOU HAVE A CARRIAGE RETURN AT THE END OF THE LINE
(if NOS encounters an end of file before the return - it ignores the
line)

guest = the login name for the user
atomic = the secret password
G:\pub\ = the root directory for FTP. Make a seperate folder for this.
          If you just put something like G:\ then anyone logging in
          could access *all* the files on partition G.
1 = the permission granted.

As far as permissions go, the value depends on what you want people
logging in to be able to do.
   Permission of 1 lets them read files only.
   Permission of 2 lets them write files, but not overwrite
                   or delete files
   Permission of 4 lets them delete and overwrite files.
Add them together to give the level of permission you want,
e.g. 3 allows reading and writing, but not overwriting or deletion
of files.

AFAIR setting the password to  *  means that no password is needed.

Second: Starting the FTP Server
===============================

Option 1 - look for the part of your STARTUP.NOS file where the servers
are started. Add the line:

start ftp

This will automatically start the server to allow people to login
whenever you are connected.


Option 2 - type the command at the NET> prompt whenever you want
to turn the server on:

start ftp


To turn it off again use

stop ftp


To see whether or not anyone is logged onto your system use the command

sockets

This will show one socket being used for FTP with a remote IP address -
it will also show a tcp <process number>.

tcp stop <process number> should kick out unwanted visitors.

(I don't know if "stop ftp" kicks people off - not tried it)

 
If you downgrade to NOS 0.41 and use the "start telnet" command
(not available in NOS 0.42) people can use the same user name and
password to telnet into your computer (e.g. to chat or get a message
to you quicker than email)

Hmmm... Hope that all makes sense, if not, email me for clarification.

BTW: If you don't have a clue what any of the above is about, you
probably don't need to know :)

-- 
Brian
Technical Details
Message-ID: <834455428snz@zing.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <834506826_OASIS_@swampdog.demon.co.uk> <834449950snz@myriad-s.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 112f4b,e866a0a4a897f8c0
X-Google-Attributes: gid112f4b,public
From: brian@zing.demon.co.uk (Brian Dew)
Subject: Re: NOS and FTP sites
Date: 1996/06/11
Message-ID: <834455428snz@zing.demon.co.uk>
X-Deja-AN: 159542392
x-nntp-posting-host: zing.demon.co.uk
references: <834506826_OASIS_@swampdog.demon.co.uk> <834449950snz@myriad-s.com>
organization: Myriad Services
reply-to: brian@zing.demon.co.uk
newsgroups: demon.ip.support.atari