<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Disconnect user session automatically in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810234#M77153</link>
    <description>I agree with what Ian and others are saying about depending on the environment your system is running in.  It is also important to have users who understand what may happen if you have an IPK running.  I had one place I worked at where the users were so uneducated about what was happening I would get calls from users complaining that the system had "crashed" so the restared VMS and everything was o.k.  The first time someone called me and said that I almost had a heart attack.  Then when I went down to their desk to find out what they did they proceeded to "shutdown and reboot" the VMS system by logging off, turning off the VT monitor, turning on the VT monitor and logging back in.  Then they said, "See I shutdown and rebooted the VMS system."&lt;BR /&gt;&lt;BR /&gt;So. if you have users who really don't know what is happening you can create a storm of users calling with things like that.&lt;BR /&gt;&lt;BR /&gt;Phil</description>
    <pubDate>Fri, 23 Jun 2006 09:01:51 GMT</pubDate>
    <dc:creator>Phillip Thayer</dc:creator>
    <dc:date>2006-06-23T09:01:51Z</dc:date>
    <item>
      <title>Disconnect user session automatically</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810219#M77138</link>
      <description>Since many users may not logout their seesion after work, so any way/tool to disconnect the user logon session automatically ?&lt;BR /&gt;&lt;BR /&gt;Thanks a lot.</description>
      <pubDate>Wed, 21 Jun 2006 21:04:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810219#M77138</guid>
      <dc:creator>EWONG</dc:creator>
      <dc:date>2006-06-21T21:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Disconnect user session automatically</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810220#M77139</link>
      <description>There are several 'solutions' in this space, in freeware as well as commercial.&lt;BR /&gt;Hitman is possibly the best known of those.&lt;BR /&gt;&lt;BR /&gt;There is even a OpenVMS FAQ entry for it:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://vmsone.com/~ovmsfreeware/ovmsfwv6/disk2/vmsfaq/vmsfaq_007.html" target="_blank"&gt;http://vmsone.com/~ovmsfreeware/ovmsfwv6/disk2/vmsfaq/vmsfaq_007.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Google for: +openvms +freeware +"idle process"&lt;BR /&gt;&lt;BR /&gt;I personally don't like any of them, as I believe they cause excessive overhead, end user annoyance and only a false sense of safety.&lt;BR /&gt;&lt;BR /&gt;Specifically, if I have a telnet/puTTY session on a 'locked' PC, then there is no way VMS based sofware can see whether this is safe or not. So they kill it, and then I have to transmit my password over the line again, create a new process, re-execute my environment setup, loose my recall buffers.&lt;BR /&gt;Thanks for nothing!&lt;BR /&gt;&lt;BR /&gt;Still, I suppose you gotta do what you gotta do!&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Hein.</description>
      <pubDate>Wed, 21 Jun 2006 22:27:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810220#M77139</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-06-21T22:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: Disconnect user session automatically</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810221#M77140</link>
      <description>Welcome to the forums!&lt;BR /&gt;&lt;BR /&gt;How are the users connecting?  Are they using Telnet, or DECserver connections?&lt;BR /&gt;Depending on the connection type, there are a number of ways to force them off.&lt;BR /&gt;Also, do you want to check if they are actually doing anything, or just dump them at a certain time?&lt;BR /&gt;&lt;BR /&gt;Allan in Atlanta&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Jun 2006 22:29:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810221#M77140</guid>
      <dc:creator>Allan Bowman</dc:creator>
      <dc:date>2006-06-21T22:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Disconnect user session automatically</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810222#M77141</link>
      <description>Hein and Allan, thanks for the prompt response.&lt;BR /&gt;&lt;BR /&gt;Actually, we use the emulation software Reflection-X (thru REXEC) and Excursion (thru TELNET) to connect to Alpha system. If there has any checking before we kill the session, that would be definitely a benefit.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;Edmond</description>
      <pubDate>Wed, 21 Jun 2006 22:39:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810222#M77141</guid>
      <dc:creator>EWONG</dc:creator>
      <dc:date>2006-06-21T22:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Disconnect user session automatically</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810223#M77142</link>
      <description>As an example, here's a routine we use, but then we have an SLA to support it. Use at your own risk, etc.&lt;BR /&gt;&lt;BR /&gt;PS.I've slightly modified it to take out some site specific stuff. It's a bit more friendly than a just kill everyone routine. Doesn't do any checking to see if the user/pid is actually doing anything.&lt;BR /&gt;&lt;BR /&gt;John.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Jun 2006 01:32:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810223#M77142</guid>
      <dc:creator>John Abbott_2</dc:creator>
      <dc:date>2006-06-22T01:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Disconnect user session automatically</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810224#M77143</link>
      <description>Edmond,&lt;BR /&gt;&lt;BR /&gt;here we use the WATCHER package from H.Goatley.&lt;BR /&gt;It is very flexible. You find it here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.madgoat.com/watcher.html" target="_blank"&gt;http://www.madgoat.com/watcher.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards Kalle</description>
      <pubDate>Thu, 22 Jun 2006 02:16:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810224#M77143</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2006-06-22T02:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Disconnect user session automatically</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810225#M77144</link>
      <description>I use WATCHER which is highly configurable. It has saved money as you don't need to buy a higher number of user licences.&lt;BR /&gt;&lt;BR /&gt;It does depend on your environment.</description>
      <pubDate>Thu, 22 Jun 2006 03:09:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810225#M77144</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2006-06-22T03:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Disconnect user session automatically</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810226#M77145</link>
      <description>"Idle process killers" (IPKs) are bad! &lt;BR /&gt;&lt;BR /&gt;They give a false sense of security and if not very carefully written, in extreme cases can cause some very nasty things to happen (for example, if you're running an IPK, never let your process count exceed BALSETCNT). They also encourage users to come up with mechanisms that defeat the IPK. Very easy to do, and generally wasteful of resources. &lt;BR /&gt;&lt;BR /&gt;Rather than kill the process suspected of being idle, a better option would be to enable virtual terminals and disconnect the TELNET connection. That way the user can log back in to the session without losing any work. I'm not sure if any of the off-the-shelf solutions are capable of doing this.&lt;BR /&gt;&lt;BR /&gt;That's all if you're attempting to figure out if a particular process idle from "outside" (even in theory, practically impossible). On the other hand, if you're writing an application with some kind of command loop, it's very easy to impose a timeout on command input and exit/logoff cleanly.</description>
      <pubDate>Thu, 22 Jun 2006 18:22:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810226#M77145</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2006-06-22T18:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Disconnect user session automatically</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810227#M77146</link>
      <description>John, IPK maybe bad, but on all or our production hosts its mandatory. Even at the business end it is supported. For example, one group of users has an idle limit set at 15 minutes. We know our applications really well can precisely determine their "idleness". We use KBLOCK with a modified routine that starts with a $FORCEX followed by $DELPRC. Further the application has an exit handler which responds to $forcex. Works most of the time. The success of IPK deployment depends a lot the application  and OS interaction. In the early delays some application components held "lock" during "operator wait time" and at termination started a change of RDB rollbacks. :( Those troublesome application components have since been addressed.  When you introduce an IPK make sure you understand what can happend if any type of application or recovery work may follow the termiantion request. &lt;BR /&gt;&lt;BR /&gt;I am not endorsing KBLOCK.</description>
      <pubDate>Thu, 22 Jun 2006 18:44:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810227#M77146</guid>
      <dc:creator>Thomas Ritter</dc:creator>
      <dc:date>2006-06-22T18:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Disconnect user session automatically</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810228#M77147</link>
      <description>Thomas,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;We use KBLOCK with a modified routine &lt;BR /&gt;&amp;gt;that starts with a $FORCEX followed by&lt;BR /&gt;&amp;gt;$DELPRC. Further the application has an&lt;BR /&gt;&amp;gt;exit handler which responds to $forcex.&lt;BR /&gt;&amp;gt;Works most of the time. &lt;BR /&gt;&lt;BR /&gt;  If the application has an exit handler especially written to handle an IPK, why not just implement the idle timeout in the application itself and avoid all the potential problems? Much easier to issue a command READ with a timeout and take the timeout condition to be equivalent to an EXIT command. Very simple, very effective and much safer than shooting processes.&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Jun 2006 23:43:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810228#M77147</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2006-06-22T23:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Disconnect user session automatically</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810229#M77148</link>
      <description>John, sure, but our selection criteria is very involved. We have different rules for different groups.  From a commercial perspective it is easier and cheaper to have the IPK external.</description>
      <pubDate>Fri, 23 Jun 2006 00:06:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810229#M77148</guid>
      <dc:creator>Thomas Ritter</dc:creator>
      <dc:date>2006-06-23T00:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Disconnect user session automatically</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810230#M77149</link>
      <description>&amp;gt; It does depend on your environment.&lt;BR /&gt;&lt;BR /&gt;I think Ian hit it on the head here.&lt;BR /&gt;&lt;BR /&gt;Virtual terminals work great for developers and admin, great for continuing a session from another site.&lt;BR /&gt;&lt;BR /&gt;For users, it just doesn't work for us, their expectations are different;&lt;BR /&gt;-some simply close down the telnet session and don't want to ever reconnect&lt;BR /&gt;-some users simply just don't understand it, whilst those that do want more... i.e. why doesn't the screen appeare as I left it (CTRL-w is the reply) why when I continue to enter the details in the app does the update fail ('cos you've held the record too long (connected 3 days later)) why doesn't the screen display correctly (80 vs. 132 width).&lt;BR /&gt;-we end up with more interactive sessions&lt;BR /&gt;-more helpdesk calls&lt;BR /&gt;-when apps are updated the installed image goes delete pending, these never free up without intervention - gets a bit large as the months go by.&lt;BR /&gt;-they expect a disconnected session to survive a maintenance outage&lt;BR /&gt;&lt;BR /&gt;I also don't like idle killers (operating throughout the day). I'm more interested in the jobs that are stuck in a tight loop!&lt;BR /&gt;&lt;BR /&gt;There's also the risk that users left logged in cause FAC&lt;BR /&gt;&lt;BR /&gt;J.</description>
      <pubDate>Fri, 23 Jun 2006 02:25:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810230#M77149</guid>
      <dc:creator>John Abbott_2</dc:creator>
      <dc:date>2006-06-23T02:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Disconnect user session automatically</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810231#M77150</link>
      <description>...&lt;BR /&gt;I also don't like idle killers (operating throughout the day). I'm more interested in the jobs that are stuck in a tight loop!&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;We use the DYNPRI utility (from M. Madison) to dynamically adjust process priorities.&lt;BR /&gt;&lt;BR /&gt;regards Kalle</description>
      <pubDate>Fri, 23 Jun 2006 02:57:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810231#M77150</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2006-06-23T02:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Disconnect user session automatically</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810232#M77151</link>
      <description>Some of the reasons why using idle process killers work or dont work in various environments have been outlined. Like many security problems its really a people problem. You educate your users to logout but technology can also be needed to backup the education as people are fallable.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Jun 2006 04:09:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810232#M77151</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2006-06-23T04:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Disconnect user session automatically</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810233#M77152</link>
      <description>RE: DYNPRI &lt;BR /&gt;&lt;BR /&gt;I ended up coding my own, but I'll still take a look at this, so thanks !</description>
      <pubDate>Fri, 23 Jun 2006 04:13:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810233#M77152</guid>
      <dc:creator>John Abbott_2</dc:creator>
      <dc:date>2006-06-23T04:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Disconnect user session automatically</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810234#M77153</link>
      <description>I agree with what Ian and others are saying about depending on the environment your system is running in.  It is also important to have users who understand what may happen if you have an IPK running.  I had one place I worked at where the users were so uneducated about what was happening I would get calls from users complaining that the system had "crashed" so the restared VMS and everything was o.k.  The first time someone called me and said that I almost had a heart attack.  Then when I went down to their desk to find out what they did they proceeded to "shutdown and reboot" the VMS system by logging off, turning off the VT monitor, turning on the VT monitor and logging back in.  Then they said, "See I shutdown and rebooted the VMS system."&lt;BR /&gt;&lt;BR /&gt;So. if you have users who really don't know what is happening you can create a storm of users calling with things like that.&lt;BR /&gt;&lt;BR /&gt;Phil</description>
      <pubDate>Fri, 23 Jun 2006 09:01:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810234#M77153</guid>
      <dc:creator>Phillip Thayer</dc:creator>
      <dc:date>2006-06-23T09:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Disconnect user session automatically</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810235#M77154</link>
      <description>Edmond, all others:&lt;BR /&gt;&lt;BR /&gt;Much as I do not like IPK, and I am also sensitive to John's arguments, we also have reasons (and I agree with their validity) to do something in this area. Rather crude, but quite satisfying to us.&lt;BR /&gt;- As no user is ex[ected to work more than 8 hours a day, we kill any interactive process after 10 hours past logintime. Any user still logged in then is considered to have forgotten to log out.&lt;BR /&gt;Since nearly everyone connects via Citrix, just setting aside a session and forgetting it is not uncommon.&lt;BR /&gt;(Our two major database applications have their own inactivity handling, and those will be disconnected long before anyhow).&lt;BR /&gt;Some of the other apps do not like to have active users during backup, and/or night-time batch processing, so users of these apps are kicked out at that time anyhow.&lt;BR /&gt;&lt;BR /&gt;Of course, occasionally some users DO need to run lengthy processes, sometimes  interactively. Those tend to be eigther System Managers or Application Managers, and those occasions are to be planned beforehand anyhow. So, at request, such user is added to an exception list, but only for 24 or 72 hours (weekend). Any longer need, and it will have to be refreshed in time.&lt;BR /&gt;&lt;BR /&gt;-- Maybe not perfect, but it works for us, and the advantages way outweigh the disadvantages.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Sat, 24 Jun 2006 05:08:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810235#M77154</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2006-06-24T05:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Disconnect user session automatically</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810236#M77155</link>
      <description>Dear all,&lt;BR /&gt;&lt;BR /&gt;I am very much appreciated your suggestion and valuable information.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot.</description>
      <pubDate>Mon, 26 Jun 2006 20:34:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/disconnect-user-session-automatically/m-p/3810236#M77155</guid>
      <dc:creator>EWONG</dc:creator>
      <dc:date>2006-06-26T20:34:45Z</dc:date>
    </item>
  </channel>
</rss>

