A remote login facility for Envoy, V1.3 1. How to install Put rlogin.service in Envoy's services directory. Activate it. Put the rlogin command whereever you want. If you are using MultiUser (at least version 1.5) on the server, you also need my new accounts.library. 2. Usage Template HOST,USERID,GUI/S The rlogin command is only usable from the shell (because it needs a console window). You will be queried for the host to log on, your username and your password. (If you give a HOST or USERID parameter, the respective query will be left out. If you specify GUI, USERID is ignored.) If both is correct and no other problems occur, you will get a shell prompt. (Note: S:Shell-Startup is used; if MultiUser is installed, .profile is also executed and you will be properly logged in. (Try "who am i".) Also, the local environment variable "REMOTE" will contain the name of the host from which you have logged on.) 3. Compatibility Programs using dos.library or packets work. (A note regarding ACTION_DISK_INFO: Obviously there is no windowpointer stored in struct InfoData. A pointer to a struct IOStdReq is stored in id_InUse, whose io_Unit points to a struct ConUnit. Only the cu_X*, cu_Y* fields of the struct ConUnit are filled in, all other fields in struct ConUnit, struct IORequest and struct InfoData are zeroed. This is a hack to support the C= "more" command. Additional note: Unfortunately, this hack seems to work only with the 3.1 more command. Older versions of more fail to get the correct window size, probably because they access structures that simply aren't there in my emulation. :-( I really have no idea how I could change that without introducing dangerous incompatibilities.) Obviously, using programs that require gfx or intuition will be a little difficult ... :-) (At least until RTG comes along !) 4. Security The rlogin.service checks: i) If there is a user with the given name on the system you want to log onto. ii) If the given password is correct. iii) If the user is listed in ENV:Envoy/rlogin.prefs. (This file has the following format: --- cut here --- user1,user2,user3,...,userN group1,group2,...,groupN --- cut here --- where userX/groupX are the names of the users and usergroups that are allowed to use the remote login. It is sufficient to be in one of the lists.) WARNING: THERE IS NO SECURITY BUILT INTO THE REMOTE SHELL APART FROM THE USER CHECK. IF YOU DO NOT HAVE MULTIUSER INSTALLED, THERE IS *NO PROTECTION* FOR YOUR SYSTEM ONCE SOMEONE IS LOGGED ON. 5. Legal stuff rlogin and rlogin.service are freeware. Envoy is TM by Commodore. There is *absolutely no warranty*. 6. Future plans Writing a rlogin preferences editor. 7. Bug reports Send bug reports, suggestions, flames et al. to Usenet: nobbi@zaphod.rhein.de Fidonet: 2:2453/30.14 Gernet: 21:100/50.14 8. History 1.0 - first release 1.1 - the remote shell now inherits the Path (from the Services Manager !) - S:Shell-Startup and .profile do not any more need the s-bit to be executed 1.2 - using improved libhdr.i for rlogin.service - quirk fix: now setting meaningful cli-commandnames for the remote shell handler & executor processes. 1.3 - now uses bumprev - uses D(bug()) construction for debugging calls now