<?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: Limit interactive login to a user in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/limit-interactive-login-to-a-user/m-p/3785174#M76266</link>
    <description>Edmundo,&lt;BR /&gt;&lt;BR /&gt;a slight correction:&lt;BR /&gt;&lt;BR /&gt;You may want to include the argument for the first SEARCH command with a leading and trailing space, to prevent false matches, if the login username happens to be a substring of another logged in username, i.e. use:&lt;BR /&gt;&lt;BR /&gt;" ''F$EDIT(F$GETJPI("","USERNAME"),"TRIM")' "&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
    <pubDate>Wed, 10 May 2006 02:19:16 GMT</pubDate>
    <dc:creator>Volker Halle</dc:creator>
    <dc:date>2006-05-10T02:19:16Z</dc:date>
    <item>
      <title>Limit interactive login to a user</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/limit-interactive-login-to-a-user/m-p/3785166#M76258</link>
      <description>How can I limit the amount of times a user&lt;BR /&gt;can login interactively?&lt;BR /&gt;&lt;BR /&gt;Let say I want user XYZ to be able to login&lt;BR /&gt;interactively only two times, but he should be&lt;BR /&gt;able to run as many process as he need.</description>
      <pubDate>Tue, 09 May 2006 11:36:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/limit-interactive-login-to-a-user/m-p/3785166#M76258</guid>
      <dc:creator>Edmundo T Rodriguez</dc:creator>
      <dc:date>2006-05-09T11:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Limit interactive login to a user</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/limit-interactive-login-to-a-user/m-p/3785167#M76259</link>
      <description>I think if you modify the username in authorize to set maxjobs to 2 it should do it.&lt;BR /&gt;</description>
      <pubDate>Tue, 09 May 2006 11:41:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/limit-interactive-login-to-a-user/m-p/3785167#M76259</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2006-05-09T11:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Limit interactive login to a user</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/limit-interactive-login-to-a-user/m-p/3785168#M76260</link>
      <description>Edmundo,&lt;BR /&gt;&lt;BR /&gt;note that /MAXJOBS also limits the batch, detached and network jobs for the user. See UAF&amp;gt; HELP MOD/MAXJOBS&lt;BR /&gt;&lt;BR /&gt;The user can spawn as many subprocesses as PRCLM allows (per each job).&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Tue, 09 May 2006 11:54:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/limit-interactive-login-to-a-user/m-p/3785168#M76260</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-05-09T11:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Limit interactive login to a user</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/limit-interactive-login-to-a-user/m-p/3785169#M76261</link>
      <description>That's exactly the issue that I am trying to&lt;BR /&gt;avoid. The user I am trying to limit generates many batch job while login in and some of the batch jobs do inter-process communication while executing the task.&lt;BR /&gt;&lt;BR /&gt;But I don't want this user to login more than twice interactively because they always stay in the system for days and causes other problems.</description>
      <pubDate>Tue, 09 May 2006 12:00:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/limit-interactive-login-to-a-user/m-p/3785169#M76261</guid>
      <dc:creator>Edmundo T Rodriguez</dc:creator>
      <dc:date>2006-05-09T12:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Limit interactive login to a user</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/limit-interactive-login-to-a-user/m-p/3785170#M76262</link>
      <description>Another way would be some code in the system wide login procedure SYLOGIN which for interactive logins obtained the username using F$GETJPI and checked the limit.</description>
      <pubDate>Tue, 09 May 2006 12:03:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/limit-interactive-login-to-a-user/m-p/3785170#M76262</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2006-05-09T12:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Limit interactive login to a user</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/limit-interactive-login-to-a-user/m-p/3785171#M76263</link>
      <description>I did a huge research on this accross multiple web-sites and not even the OpenVMS-Wizard seems to have a simple recomendation.</description>
      <pubDate>Tue, 09 May 2006 12:29:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/limit-interactive-login-to-a-user/m-p/3785171#M76263</guid>
      <dc:creator>Edmundo T Rodriguez</dc:creator>
      <dc:date>2006-05-09T12:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Limit interactive login to a user</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/limit-interactive-login-to-a-user/m-p/3785172#M76264</link>
      <description>Edmundo,&lt;BR /&gt;&lt;BR /&gt;the following may not be 'simple', but it seems to work ;-)&lt;BR /&gt;&lt;BR /&gt;This is a complex PIPE statement based on the following ITRC entry:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=876934" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=876934&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;$ pipe show user 'F$GETJPI("","USERNAME") | &lt;BR /&gt;search sys$pipe/noout/stat 'F$GETJPI("","USERNAME") | search sys$pipe matched | ( read sys$pipe x ; y=F$ELEMENT(2," ",F$EDIT(x,"TRIM,COMPRESS")) ; def/job count &amp;amp;y )&lt;BR /&gt;&lt;BR /&gt;The job-wide logical COUNT would contain the no. of times this user is logged in simultaneously cluster-wide. You can then base further decisions during SYLOGIN.COM on the value of this logical.&lt;BR /&gt;&lt;BR /&gt;Volker.&lt;BR /&gt;&lt;BR /&gt;PS: You might want to use your browser's View Source Text function to read and copy the above pipe statement. Note that it's all one DCL line.</description>
      <pubDate>Tue, 09 May 2006 12:53:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/limit-interactive-login-to-a-user/m-p/3785172#M76264</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-05-09T12:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Limit interactive login to a user</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/limit-interactive-login-to-a-user/m-p/3785173#M76265</link>
      <description>Edmundo,&lt;BR /&gt;&lt;BR /&gt;You can also check the Process Name of the process from within SYLOGIN.COM (or a group LOGIN.COM invoked by SYLOGIN.COM). The first interactive process is automatically assigned a process name corresponding to the username. The second process (on that cluster node) is assigned a process name based on the login device. If the process name &amp;lt;&amp;gt; the username, then you could just LOGOUT the process.&lt;BR /&gt;&lt;BR /&gt;It is a little more complex, but something similar could be done on a clusterwide basis with a little thought.&lt;BR /&gt;&lt;BR /&gt;I hope that the above is helpful.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Tue, 09 May 2006 20:33:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/limit-interactive-login-to-a-user/m-p/3785173#M76265</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2006-05-09T20:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Limit interactive login to a user</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/limit-interactive-login-to-a-user/m-p/3785174#M76266</link>
      <description>Edmundo,&lt;BR /&gt;&lt;BR /&gt;a slight correction:&lt;BR /&gt;&lt;BR /&gt;You may want to include the argument for the first SEARCH command with a leading and trailing space, to prevent false matches, if the login username happens to be a substring of another logged in username, i.e. use:&lt;BR /&gt;&lt;BR /&gt;" ''F$EDIT(F$GETJPI("","USERNAME"),"TRIM")' "&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Wed, 10 May 2006 02:19:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/limit-interactive-login-to-a-user/m-p/3785174#M76266</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-05-10T02:19:16Z</dc:date>
    </item>
  </channel>
</rss>

