Subj : Telgate
To   : echicken
From : Lab Rat
Date : Tue Sep 24 2013 03:47 am

 Re: Telgate
 By: echicken to Lab Rat on Thu Sep 19 2013 16:16:24

> bbs.telnet_gate(hostname, TG_RLOGIN|TG_SENDPASS);
>
> This opens an rlogin session with 'hostname', sending the username and passw
> of the currently logged-in user.  For this to work, the remote system needs
> be ready to accept that username & password combo.
>
> I do see a bbs.change_user method in the docs, which I've never used.  You
> might be able to call it prior to calling bbs.telnet_gate, switching to a us
> whose credentials are known to be valid on the remote system (then again
> afterward to switch back.)  Of course, I might be misinterpreting what this
> method does, or the extent to which it does it.

Thanks for your thoughts. I've had a play around with this for hours now and
am still failing to find a way to do it. The remote system is going to be a
Synchronet system that I am running myself, so any necessary changes can be
made to the log in process on there too.

bbs.change_user might be a little tricky because I do actually want to pass
the current logged in user to the remote system. Basically, I want the system
itself to have a user account on the remote system, and every system which
connects has a 8 character username. When connecting, the current logged in
user's account number is appended to the end of the 8 character user name. I
have already set up the remote system to only read the first eight characters
of the user name so that the initial system can connect, but the remote system
is aware of both which system is calling AND who is calling on it (by taking
everything after the eighth character as the user on the system calling). You
can then essentially have a unique user on the remote system without them
having to create an account of their own. Then, the log in can be automated and
they can access, say, a door from the initial system without any log in.

The ultimate aim is some sort of inter-BBS door game which works irrespective
of the BBS software type of the initial connecting BBS. I know it's been done
before, and there are other ways of doing it, but this is the way I am trying
to approach it because, well, I want to I suppose!


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