From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: KYLAM Tru64 Newsgroups: gmane.os.tru64.managers Subject: rlogin problem - sessions killed automatically Date: Mon, 24 May 2004 14:50:14 +0800 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=big5; format=flowed Content-Transfer-Encoding: 8BIT X-Trace: sea.gmane.org 1085381461 3271 80.91.224.253 (24 May 2004 06:51:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 May 2004 06:51:01 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon May 24 08:50:53 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1BS9IT-0002RF-00 for ; Mon, 24 May 2004 08:50:53 +0200 Original-Received: (qmail 13317 invoked by uid 5); 24 May 2004 06:50:47 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 13303 invoked from network); 24 May 2004 06:50:47 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 24 May 2004 06:50:47 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0HY7005DFHOM86@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 24 May 2004 02:50:46 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute3.ornl.gov by emroute3.ornl.gov (PMDF V6.2-X27 #30899) id <0HY700C02HNSL3@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 24 May 2004 02:50:16 -0400 (EDT) Original-Received: from hotmail.com (sea1-f29.sea1.hotmail.com [207.68.163.29]) by emroute3.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0HY7009F0HNQ9H@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 24 May 2004 02:50:15 -0400 (EDT) Original-Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 23 May 2004 23:50:14 -0700 Original-Received: from 202.45.241.58 by sea1fd.sea1.hotmail.msn.com with HTTP; Mon, 24 May 2004 06:50:14 +0000 (GMT) X-Originating-IP: [202.45.241.58] X-Sender: lamkaiyeung@hotmail.com Original-To: tru64-unix-managers@ornl.gov X-Originating-Email: [lamkaiyeung@hotmail.com] X-OriginalArrivalTime: 24 May 2004 06:50:14.0304 (UTC) FILETIME=[5DB2BA00:01C4415B] Xref: main.gmane.org gmane.os.tru64.managers:6984 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6984 Hi Tru64-managers, There is a UNIX box uxhost02 which commands rlogin/rsh/rcp are allowed. (from .rhosts file) We can rlogin from uxhost01 and uxhost03 to this machine. Recently, we noted all rlogin sessions will be closed automatically after idling for a while, and leave us with following message: uxtyo01 : root : / # rlogin: read: Connection timed out. rlogin: connection closed. uxaoc01 : root : / # I tried to login the machine, and enter command to check current active session. The system shows the session which was actually killed is still active. uxtyo01 : root : / # w 15:32 up 126 days, 23:55, 2 users, load average: 3.23, 5.63, 5.89 User tty from login@ idle JCPU PCPU what root pts/0 uxaoc01 13:47 1:45 -ksh <<-- still there root pts/1 uxaoc01 15:10 w uxtyo01 : root : / # Then, I enter command to check the login record, the killed session is indicated as “still logged in”. And you can also see other sessions which were killed actually all have logged in for 02:10. uxtyo01 : root : / # last | grep root | more root pts/1 uxaoc01 Mon May 24 15:10 still logged in <<-- killed actually root pts/1 uxaoc01 Mon May 24 15:02 - 15:05 (00:03) root pts/0 uxaoc01 Mon May 24 13:47 still logged in root pts/0 uxaoc01 Mon May 24 13:34 - 13:37 (00:03) root pts/0 uxaoc01 Mon May 24 13:25 - 13:32 (00:07) root pts/3 uxaoc01 Mon May 24 11:52 - 12:07 (00:15) root pts/2 uxhkg02 Mon May 24 11:05 - 13:16 (02:10) <<-- root pts/2 uxhkg02 Mon May 24 11:02 - 11:05 (00:02) root pts/1 uxhkg02 Mon May 24 11:02 - 13:13 (02:10) <<-- root pts/0 uxhkg03 Mon May 24 10:43 - 12:53 (02:10) <<-- root pts/0 uxaoc01 Mon May 24 08:08 - 08:10 (00:02) Moreover, sometimes rlogin doesn’t work intermittantly. uxaoc01 : root : / # rlogin uxtyo uxtyo: Connection timed out uxaoc01 : root : / # Any feedback will be appreciated. Thanks, KYLAM _________________________________________________________________ 日日免費隨時學英語/普通話 http://go.msnserver.com/HK/46164.asp