Using The 'Access.inf' file

The access.inf file is used for setting up the account information for any users, relating to the telnet and ftp servers you have running. For example telnet accounts for your telnet server will allow only selected people to have remote access to the PetrOS machine.

PetrOS comes with a sample access.inf file already. Below is a copy of this file:

;
;  this is the password file for telnetd/ftpd
;
; NOT A SECURE SYSTEM AS PASSWORDS ARE CLEAR TEXT
;
;  refer to Trumpet Fanfare for more details on the format.
;
; telnetd only checks that the directory exists and after that starts up
; the shell.
;
; ftpd uses the directory access list for all transfers.
;
someuser a_password c:/somedir=*   ; full name goes here.
;
; an anonymous FTP login
;
ftp * c:/public=r c:/public/upload=rw

So as you can see, to add a user you simply need to set up a directory or directories that you want them to have access to. Then give them a user name, password, and specify what they have access to, and whether it is read (r), write (w), or all (*).

- For example: joe_blo letmeIn c:/users/joeblo=rw.


Just add as many users as you need to this file. You can use the 'ed' application to alter the access.inf, by typing 'ed access.inf' at the command prompt. Then when you have made the additions/changes required, press Ctrl-Q to quit, and you will be prompted to save.