Subj : New User Script
To   : Digital Man
From : Lab Rat
Date : Wed Feb 19 2014 10:56 am

 Re: New User Script
 By: Digital Man to Lab Rat on Tue Feb 18 2014 15:39:30

> Perhaps if you tell us what you want to do, we can help you achieve that.
>
>                                             digital man

OK, this is what I am trying to do - wasn't deliberately being cagey, just
didn't want to bore you with the details!

I want to capture the username of the unknown user passed by RLogin as a string
but not use it to log in to the system. I then want to log in using the remote
system's IP address as the username which is already in the user database and
disregard the RLogin password completely. That way, anyone connecting by RLogin
from a remote BBS is automatically logged in as the same user (the remote
system's IP) and then their actual username is just floating around as a string
which I will then use later on.

I can get this working fine by telnet, but I want the user to be automatically
logged in and therefore need RLogin. From what I can tell, RLogin with an
unknown username doesn't seem to touch login.js - I have put many strategically
placed

   console.print(str);
   console.pause();

in login.js any using RLogin, it doesn't pause once, let alone show the
username with a known or unknown user.

The only alternative that I can think of that would work for me is if there
would be some way of passing a different username and password to that of the
logged in user from a remote board using RLogin - i.e. create an external
program: *rlogin <remote host> <user> <pass> - but as far as I can tell, this
isn't possible.

Thanks for your help with this - I'm sure I'll get there in the end...


Lab Rat.


---
� Synchronet � Toxic Laboratory BBS - Birmingham, UK - toxicbbs.com