This article is from the AmigaUUCP
FAQ, by Marc SCHAEFER,
Since 1.15, the following method can be used to log in remotely. It is very stable and allows for custom AmigaShell scripts.
You NEED LIBS:fifo.library & L:fifo-handler (latest version if possible, which is 38.3) Note that fifo-handler, although it is a DOS handler, *cannot* be mounted. You have to RUN it. Eg in your S:user-startup (or S:Startup-Sequence under 1.3) you have to add
RUN <NIL: >NIL: L:Fifo-Handler
Now you have two possibilities:
a) You want an user with full shell access. Set up the following line in your UULIB:Passwd file:
sysop,sysop_password,1,1,(Sysop Shell Login),RAM:,*
Drawback: The Ctrl-C and Ctrl-D signals are not passed. By the way, More does not work (FIFO: does not support DISK_INFO Console packet used by More to retrieve window information). However most commands do work. Requesters will be disabled automagically by getty.
b) You want to launch a script. Note that Getty will not pass Ctrl-C and Ctrl-D, as in a). In this case this is an advantage. Set up the following line in UULIB:Passwd
guest,*,2,2,(Guest login),RAM:,*Guest-Startup
This is a guest login without password. In S:Guest-Startup you may have the following lines. It won't be stoppable and if it fails there won't be any requesters, and the script won't return to a shell.
Echo "Welcome on as a guest" Type MY_DATA:Information EndCLI
You may well also create a complete menu system with options.
Note that the old method using a Newshell AUX: cannot be used anymore due to Getty new method of locking the serial port. If you do you will get errors.
See also "AuxSupport", and AXSH.
 
Continue to: