Re: Simultaneous logins
Old Man (oldman@mitec.net)
Tue, 4 Mar 1997 15:43:58 -0600 (CST)
On Tue, 4 Mar 1997, Gary E. Miller wrote:
> > Can't one address the race conditions by waiting five minutes
> > and checking to see if the one user is still logged into the
> > same two ports? Or better yet, wait five minutes and then
> > telnet into the PM's and show sessions; that will eliminate
> > the lost-logoff problem. Since duplicates will be rare,
> > the extra overhead of the telnet should be small (once per hour or so).
> I have found that sometimes the PM2 thinks a user is still connected
> but that is not so. Before kicking someone off I always ping the
> connection to check that it is up.
> That is why bpmtools only sends warning mail to duplicate users.
> BTW, bpmtools uses the "secret" portmaster protocol to check who is
> on. It seems much faster, and more reliable than running a psuedo
> telnet session.
Are you sure about the speed, I have two versions of "pmwho", the only
using telnet is much faster than the one using bpmtools.
Also, I have never seen a user that has been shown as logged in on the
portmaster when he/she was actually not.
Sincerely,
Lee Kuo