<?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: Question on how /[NO]ACCESS should work in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/question-on-how-no-access-should-work/m-p/4326235#M92610</link>
    <description>Thanks for all the responses. We are working on a safe method of logging off these users.&lt;BR /&gt;&lt;BR /&gt;I wish I had the authority to discipline users that don't follow the rules.&lt;BR /&gt;However, upper management will not allow us to do anything that would interfere with their work so there isn't anything that can be done in regards to trainning the users.&lt;BR /&gt;We are working on updating our applications to time out when idle for too long but we have a small staff of programmers and management (yes, them again) insist we focus no new application development so progress is slow.&lt;BR /&gt;&lt;BR /&gt;In regards to the no access, even if the user is at a DCL prompt they are not logged off the system. Not what I expected, but then they are'nt interfering with anything in that instance. And, yes, if it were up to me they would never get to a command line.&lt;BR /&gt;</description>
    <pubDate>Mon, 22 Dec 2008 12:56:49 GMT</pubDate>
    <dc:creator>Chris M. Hornbeck_1</dc:creator>
    <dc:date>2008-12-22T12:56:49Z</dc:date>
    <item>
      <title>Question on how /[NO]ACCESS should work</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/question-on-how-no-access-should-work/m-p/4326227#M92602</link>
      <description>Most of our user accounts are set up with /NOACCESS=(SECONDARY, 18-24)&lt;BR /&gt;Secondary is Saturday.&lt;BR /&gt;These users cannot log in during this time.&lt;BR /&gt;However, users that are logged in stay logged in until they attempt to run an executable.&lt;BR /&gt;&lt;BR /&gt;Is this the way it's supposed to work?&lt;BR /&gt;I expected these user sessions to be terminated at 18:00 on Saturdays.&lt;BR /&gt;We have a problem when users leave and don't log off on Saturdays. If they have a record locked it interferes with the file conversions we do on Saturday nights.&lt;BR /&gt;Is there a way to set up these user accounts so they cannot stay logged in during this time?</description>
      <pubDate>Thu, 18 Dec 2008 20:35:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/question-on-how-no-access-should-work/m-p/4326227#M92602</guid>
      <dc:creator>Chris M. Hornbeck_1</dc:creator>
      <dc:date>2008-12-18T20:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Question on how /[NO]ACCESS should work</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/question-on-how-no-access-should-work/m-p/4326228#M92603</link>
      <description>I think that's the way it is supposed to work.&lt;BR /&gt;&lt;BR /&gt;It must be a rather poorly designed application which allows processes to hold (record) lock over terminal interactions/menues. Yikes.&lt;BR /&gt;&lt;BR /&gt;But I suppose you have to make do with what you have.&lt;BR /&gt;&lt;BR /&gt;Before running maintenance jobs you may want to perform SHOW DEV/FILE &lt;TARGET file=""&gt; and parse the output for PID/proces-names having files open.&lt;BR /&gt;&lt;BR /&gt;You could give those a 5 minute warning first and in a second run execure $STOP/IMAGE to give the code (RMS) a chance to clean up nicely, flushing buffers.&lt;BR /&gt;&lt;BR /&gt;Ideally, applications hold a lock+blocking AST (or Mailbox) to be informed to close files and go away, but that level of sophistication in applications is far and few in between.&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;/TARGET&gt;</description>
      <pubDate>Thu, 18 Dec 2008 21:20:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/question-on-how-no-access-should-work/m-p/4326228#M92603</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2008-12-18T21:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Question on how /[NO]ACCESS should work</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/question-on-how-no-access-should-work/m-p/4326229#M92604</link>
      <description>Ok. &lt;BR /&gt;Thanks for the help.&lt;BR /&gt;&lt;BR /&gt;We do have a lot of old applications that don't behave well. &lt;BR /&gt;</description>
      <pubDate>Thu, 18 Dec 2008 22:25:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/question-on-how-no-access-should-work/m-p/4326229#M92604</guid>
      <dc:creator>Chris M. Hornbeck_1</dc:creator>
      <dc:date>2008-12-18T22:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Question on how /[NO]ACCESS should work</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/question-on-how-no-access-should-work/m-p/4326230#M92605</link>
      <description>Chris,&lt;BR /&gt;&lt;BR /&gt;at our site users are SUPPOSED to work 8 hours.&lt;BR /&gt;So, with a lee time of 2, we regularly (10 mins) check for interactive processes running for more than 10 hours. Those are just STOP/ID'ed.&lt;BR /&gt;IF any user EXPECTS to need more runtime, he can ask in advance to be put on an exception list (usually for 1 day).&lt;BR /&gt;&lt;BR /&gt;It has helped us a lot.&lt;BR /&gt;&lt;BR /&gt;--just a suggestion.&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>Thu, 18 Dec 2008 23:19:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/question-on-how-no-access-should-work/m-p/4326230#M92605</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2008-12-18T23:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Question on how /[NO]ACCESS should work</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/question-on-how-no-access-should-work/m-p/4326231#M92606</link>
      <description>Freeware V8 (and the other usual locations) contain a tool called WATCHER, which can be used to stop 'idle' processes. It is very configurable to define, what is idle, which user/jobs/images are excluded...&lt;BR /&gt;&lt;BR /&gt;regards Kalle</description>
      <pubDate>Fri, 19 Dec 2008 05:42:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/question-on-how-no-access-should-work/m-p/4326231#M92606</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2008-12-19T05:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Question on how /[NO]ACCESS should work</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/question-on-how-no-access-should-work/m-p/4326232#M92607</link>
      <description>re: Jan,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Those are just STOP/ID'ed.&lt;BR /&gt;&lt;BR /&gt;  Please try to avoid STOP/ID or $DELPRC. They can cause trouble (yes, I know, "you've been doing it for years", but that doesn't make it right! nor does it mean it won't cause you trouble in the future).&lt;BR /&gt;&lt;BR /&gt;  A better way of killing a process is to first issue a $FORCEX. If the process is still there after some time (say, 5 minutes), then $DELPRC. &lt;BR /&gt;&lt;BR /&gt;  From DCL V7.3-2 and above, issue STOP/IMAGE/ID, as Hein suggested, for $FORCEX or STOP/NOEXIT/ID if that fails. &lt;BR /&gt;&lt;BR /&gt;[it took me almost a decade of lobbying to get that put into DCL, so please use it! Thanks to Elinor Woods for working through all the non-obvious complexities and finally making it happen]&lt;BR /&gt;&lt;BR /&gt;That said, I thought the noaccess times worked exactly as described above. A $FORCEX issued at the transition from the access window to the no access window, then a $DELPRC a few minutes later. I'm therefore a bit surprised by your observation. Does the application have any special exit handing?&lt;BR /&gt; &lt;BR /&gt;I agree with Hein that allowing a process to hold locks for an extended period is asking for trouble. I'd strongly recommend implementing timeout mechanisms in the application that &lt;BR /&gt;1) relinquish a lock if held too long and &lt;BR /&gt;2) exits the application or process if left idle for too long.&lt;BR /&gt;Such timeouts can be very easy to implement. For the exit timeout, choose a reasonably long time, say 4 hours. In your command loop immediately after accepting a command issue a $CANTIM to cancel the previous timer, then a $SETIMR to reset it. In the timer AST call $EXIT with SS$_TIMEOUT. Just a few lines of code in any language.&lt;BR /&gt;&lt;BR /&gt;Timing out a record lock can be a bit trickier, it depends on the logic of the application, but it may not be necessary if you can depend on the application timeout.&lt;BR /&gt;&lt;BR /&gt;Final comment. The heart of this issue is user training. The trouble with automating logouts is it teaches users to not logout. So what starts as an emergency fixup develops into standard practice, increasing your exposure to the rare events where summarily killing a process can result in file corruption.&lt;BR /&gt;&lt;BR /&gt;By all means implement an automatic logout, but try to make it the exception, rather than SOP.&lt;BR /&gt;You should be able to identify the users responsible. Send messages informing them they've breached security guidelines by leaving their session logged in. If it's serious enough, set a limit to the number of times they're allowed to be caught without incuring some disciplinary action.</description>
      <pubDate>Sun, 21 Dec 2008 20:35:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/question-on-how-no-access-should-work/m-p/4326232#M92607</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2008-12-21T20:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Question on how /[NO]ACCESS should work</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/question-on-how-no-access-should-work/m-p/4326233#M92608</link>
      <description>John (or others),&lt;BR /&gt;&lt;BR /&gt;Has /NOEXIT any use if no exit handlers are implemented by the user program ? &lt;BR /&gt;&lt;BR /&gt;I remember from my Unix time that kill -15 would often not stop the stucked process. So we did a -9 a few seconds later. May be this also applies to VMS.&lt;BR /&gt;&lt;BR /&gt;fwiw&lt;BR /&gt;&lt;BR /&gt;Wim &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Dec 2008 09:57:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/question-on-how-no-access-should-work/m-p/4326233#M92608</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-12-22T09:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Question on how /[NO]ACCESS should work</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/question-on-how-no-access-should-work/m-p/4326234#M92609</link>
      <description>@John,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;You should be able to identify the users responsible. Send messages informing them they've breached security guidelines by leaving their session logged in. If it's serious enough, set a limit to the number of times they're allowed to be caught without incuring some disciplinary action.&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;If it gives you any peace of mind: that is exactly what we did!&lt;BR /&gt;But since that was more related to the security policy as to the locking problem, I left that unmentioned. I probably could/should have anticipated your response :-)&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Dec 2008 10:25:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/question-on-how-no-access-should-work/m-p/4326234#M92609</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2008-12-22T10:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Question on how /[NO]ACCESS should work</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/question-on-how-no-access-should-work/m-p/4326235#M92610</link>
      <description>Thanks for all the responses. We are working on a safe method of logging off these users.&lt;BR /&gt;&lt;BR /&gt;I wish I had the authority to discipline users that don't follow the rules.&lt;BR /&gt;However, upper management will not allow us to do anything that would interfere with their work so there isn't anything that can be done in regards to trainning the users.&lt;BR /&gt;We are working on updating our applications to time out when idle for too long but we have a small staff of programmers and management (yes, them again) insist we focus no new application development so progress is slow.&lt;BR /&gt;&lt;BR /&gt;In regards to the no access, even if the user is at a DCL prompt they are not logged off the system. Not what I expected, but then they are'nt interfering with anything in that instance. And, yes, if it were up to me they would never get to a command line.&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Dec 2008 12:56:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/question-on-how-no-access-should-work/m-p/4326235#M92610</guid>
      <dc:creator>Chris M. Hornbeck_1</dc:creator>
      <dc:date>2008-12-22T12:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Question on how /[NO]ACCESS should work</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/question-on-how-no-access-should-work/m-p/4326236#M92611</link>
      <description>Chris,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;However, upper management will not allow us to do anything that would interfere with their work so there isn't anything that can be done in regards to trainning the users.&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;You can try (but I am afraid, with little chance of success, been there too) to explain them, that NOT doing this is what "interferes with users' work". &lt;BR /&gt;To wit, the user HOLDING the lock, (and already off the premises) does the interfering with current activities, and YOU are the one with the knowledge and the power to STOP that interference.&lt;BR /&gt;&lt;BR /&gt;Wishing you a lot more of convincingness (or convinceable management) than I was able to show....&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>Mon, 22 Dec 2008 13:17:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/question-on-how-no-access-should-work/m-p/4326236#M92611</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2008-12-22T13:17:25Z</dc:date>
    </item>
  </channel>
</rss>

