Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

logging out of windows terminals.

4 views
Skip to first unread message

venu

unread,
Nov 29, 2009, 10:35:48 PM11/29/09
to
Hello,
I administer a SCO Openserver Enterprise 5.0 system. Recently I
discovered that when users logged out of the system from their windows
pc. the server continued to show them as logged in and idle.However
when they login again the same terminal is allotted to them eg. ttyp1
etc.
My servers IP is 192.168.100.2 and I was getting an error message with
this 192.168.100.1 . I found that my /etc/hosts had this IP address
above the correct IP address. So I deleted the 100.1 IP address and
the error messages stopped , but the above problem started.

regards
Venugopal

Unknown

unread,
Nov 29, 2009, 10:44:28 PM11/29/09
to
We have had the same problem for years. Some premature closures
create huge CPU time if they are running the version of COBOL we
employ.

OUR BEST SOLUTION SO FAR:
We insist they go back to login first prior to closing windows
or we start locking offenders out until their supervisor has trained
them properly.

venu

unread,
Nov 29, 2009, 10:48:55 PM11/29/09
to
On Nov 30, 8:44 am, Jerry (je...@trick.com) wrote:
> We insist they go back to login first prior to closing windows
> or we start locking offenders out until their supervisor has trained
> them properly.
My users are going back to login and yet the server is not loggin them
out??
Venugopal

venu

unread,
Nov 29, 2009, 10:55:43 PM11/29/09
to
On Nov 30, 8:35 am, venu <venugol...@yahoo.co.in> wrote:
> Hello,
I just discovered that the login is retained till a new user logs in
when the same terminal is allotted to him. However this gives a wrong
picture when the status is taken and all terminals shown as idle are
not necessarily logged in users
> regards
> Venugopal

Nico Kadel-Garcia

unread,
Nov 29, 2009, 11:02:32 PM11/29/09
to

Nico Kadel-Garcia

unread,
Nov 29, 2009, 11:02:37 PM11/29/09
to

This does not say which OpenSSH you've installed. I know that 5.0.6,
for example, had a reasonable package at
ftp://ftp.sco.com/pub/openserver5/opensrc/openssh-4.2p1/openssh42p1_vol.tar.

But note that there's nothing that will force the new sessions to the
same terminal session for the same users. Is it clear they've
actually closed the session? Is there a shell still running associated
with it? Closing the window *should* kill the connection on the client
end, which should end the forked off daemon on the server end and
gracefully clear the session.

venu

unread,
Nov 30, 2009, 1:16:42 AM11/30/09
to
On Nov 30, 9:02 am, Nico Kadel-Garcia <nka...@gmail.com> wrote:
> But note that there's nothing that will force the new sessions to the
> same terminal session for the same users.  
It is not going to the same user but the next user who logs in.
regards
Venugopal

Nico Kadel-Garcia

unread,
Nov 30, 2009, 1:37:49 AM11/30/09
to

The next user who logs in to *that pseudo-terminal*, yes, exactly.

Irrelevant of what /etc/hosts says, what does "ifconfig" say about
your system's network devices? Does it perhaps have one listed at
192.168.100.1, perhaps for the second of several network ports? You've
gotten me curious about why it had that spurious entry. A lot of
people do very, very strange things to /etc/hosts.

venu

unread,
Nov 30, 2009, 3:32:30 AM11/30/09
to
My network does not have the 192.168.100.1 IP. It may have been there
in the past.The system is running for almost 10 years now and I have
recently come here. Is it normal for the logins to continue even when
users have logged out from the terminals by giving exit.
Venugopal

John Kuiper

unread,
Nov 30, 2009, 5:27:03 AM11/30/09
to
venu schreef:

Sometimes the utmp(x) and wtmp(x) are not syncronised. Try to empty them
in single user mode and check again.

John

RedGrittyBrick

unread,
Nov 30, 2009, 6:48:17 AM11/30/09
to

venu wrote:
> Is it normal for the logins to continue even when
> users have logged out from the terminals by giving exit.

No, that isn't normal.

Are the users using a terminal emulator on a PC to connect to the
server? If so which emulator? Do they use telnet or SSH as the
communications protocol?

What command are you using to find out who is logged-in? Are you using
the 'who' command?

--
RGB

ed

unread,
Nov 30, 2009, 9:03:30 AM11/30/09
to

> I administer a SCO Openserver Enterprise 5.0 system. Recently I
> discovered that when users logged out of the system from their windows
> pc. the server continued to show them as logged in and idle.However
> when they login again the same terminal is allotted to them eg. ttyp1
> etc.

I've noticed the behaviour using TinyTerm to telnet into 5.0.5
systems. Logging out of applications may, or may not, clear assignment
to the psuedo terminals. In my cases login is not running and the
terminal is reassigned the next time it is needed. Whodo shows the
terminals but no process ids or jobs assigned to them.

Jean-Pierre Radley

unread,
Nov 30, 2009, 11:01:21 AM11/30/09
to
venu typed (on Sun, Nov 29, 2009 at 07:35:48PM -0800):

Look into 'cwtmp'. See: http://www.sco.com/ta/105755

--
JP

Bob Rasmussen

unread,
Nov 30, 2009, 1:31:49 PM11/30/09
to Je...@lists.celestial.com, sco-...@lists.celestial.com

Note that Anzio Lite and AnzioWin (our terminal emulation programs for
Windows) can be configured to prevent simply quitting. This coerces the
user into logging out of the server app's menu system. If course nothing
can prevent them from rebooting the PC.

We have also seen sites where someone has had a 'trap' in a shell script,
which effectively prevented the hangup signal from reaching the running
application.

More information at

http://www.anzio.com/support/kb/Anzio_kb/What%20happens%20when%20a%20user%20quits%20a%20Telnet%20session.htm

Regards,
....Bob Rasmussen, President, Rasmussen Software, Inc.

personal e-mail: r...@anzio.com
company e-mail: r...@anzio.com
voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
fax: (US) 503-624-0760
web: http://www.anzio.com
street address: Rasmussen Software, Inc.
10240 SW Nimbus, Suite L9
Portland, OR 97223 USA

venu

unread,
Nov 30, 2009, 10:57:22 PM11/30/09
to
On Nov 30, 4:48 pm, RedGrittyBrick <RedGrittyBr...@spamweary.invalid>
wrote:

> Are the users using a terminal emulator on a PC to connect to the
> server? If so which emulator? Do they use telnet or SSH as the
> communications protocol?

They are using putty (telnet) to login.

> What command are you using to find out who is logged-in? Are you using
> the 'who' command?
>

w command is used to check logged in users.

regards
Venugopal

Nico Kadel-Garcia

unread,
Dec 1, 2009, 8:58:22 AM12/1/09
to

Oh, dear. First thing to do then is to not use telnet, and upgrade to
using OpenSSH. Among other benefits, such as its security benefits,
I'll pretty much guarantee you that it better handles disconnected
sessions than ancient telnet servers. Plus, it handles X sessions in
far more graceful fashion: this makes it very useful for remotely
connecting to a SCO server and running graphic administrative tools,
like scoadmin.

Brian K. White

unread,
Dec 1, 2009, 7:23:11 PM12/1/09
to

netconfig only adds new entries to /etc/hosts.

That means if you change your ip in netconfig, or install new nics, or
delete & reinstall the same or a different nic, etc etc in all cases it
just adds a new line to /etc/hosts, so it's common to have old incorrect
entires in there unless you know about this and fix it manually after
every use of netconfig. Similarly the broadcast address in
/etc/default/tcp may bear any or no relation to the current ip settings.

--
bkw

0 new messages