<?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 Inactive session logoff in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/inactive-session-logoff/m-p/2737570#M66857</link>
    <description>I would like to have any login session automatically log off if the session has been inactive for a certain amount of time (time yet to be determined). Can this be done with a system setting?&lt;BR /&gt;Or is a 'script' required and if so any ideas/examples?&lt;BR /&gt;The system is currently running HP-UX 10.20.</description>
    <pubDate>Tue, 04 Jun 2002 17:10:21 GMT</pubDate>
    <dc:creator>Scott G. Gallup</dc:creator>
    <dc:date>2002-06-04T17:10:21Z</dc:date>
    <item>
      <title>Inactive session logoff</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inactive-session-logoff/m-p/2737570#M66857</link>
      <description>I would like to have any login session automatically log off if the session has been inactive for a certain amount of time (time yet to be determined). Can this be done with a system setting?&lt;BR /&gt;Or is a 'script' required and if so any ideas/examples?&lt;BR /&gt;The system is currently running HP-UX 10.20.</description>
      <pubDate>Tue, 04 Jun 2002 17:10:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inactive-session-logoff/m-p/2737570#M66857</guid>
      <dc:creator>Scott G. Gallup</dc:creator>
      <dc:date>2002-06-04T17:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Inactive session logoff</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inactive-session-logoff/m-p/2737571#M66858</link>
      <description>All you have to do is set the TMOUT environment variable to a non-zero number od seconds. If no input is received within that number of seconds the shell is terminated.&lt;BR /&gt;&lt;BR /&gt;Man sh_posix for details. You could put this entry in the users' .profile.</description>
      <pubDate>Tue, 04 Jun 2002 17:14:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inactive-session-logoff/m-p/2737571#M66858</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-06-04T17:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Inactive session logoff</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inactive-session-logoff/m-p/2737572#M66859</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can put the following entry in the /etc/profile or .profile file of the users.&lt;BR /&gt;&lt;BR /&gt;/etc/profile for all users.&lt;BR /&gt;&lt;BR /&gt;TMOUT=seconds&lt;BR /&gt;&lt;BR /&gt;TMOUT affects how the shell itself operates. So if someone is sitting at a &lt;BR /&gt;shell prompt too long, they get logged out. &lt;BR /&gt;&lt;BR /&gt;But if they, for instance, run the vi editor and then walk away, TMOUT does no &lt;BR /&gt;good. The vi editor ignores TMOUT. While any program could obtain TMOUT and &lt;BR /&gt;respect it, none except the shell do (as far as I know). &lt;BR /&gt;&lt;BR /&gt;Even if they did, the editor would probably just exit and thus the shell would &lt;BR /&gt;then start a second TMOUT period. &lt;BR /&gt;&lt;BR /&gt;Thats it.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;piyush</description>
      <pubDate>Tue, 04 Jun 2002 17:23:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inactive-session-logoff/m-p/2737572#M66859</guid>
      <dc:creator>PIYUSH D. PATEL</dc:creator>
      <dc:date>2002-06-04T17:23:19Z</dc:date>
    </item>
  </channel>
</rss>

