<?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: auto logout user &amp;amp; kill expire process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-logout-user-amp-kill-expire-process/m-p/3493228#M215311</link>
    <description>Hi Kelvin,&lt;BR /&gt;&lt;BR /&gt;To drop idle sessioon try using the shell variables such a TMOUT.&lt;BR /&gt;&lt;BR /&gt;The idle telnet session can be automatically cleared by setting the timeout value. A non-zero value specifies the number of minutes to wait before an idle telnet session is timed out. The minimum value is 1 minute, the maximum is 512640 minutes (1 year).&lt;BR /&gt;&lt;BR /&gt;You can sett the TIMEOUT value to 15 minutes in the users profiles who use that application.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Indira A&lt;BR /&gt;</description>
    <pubDate>Fri, 25 Feb 2005 00:49:02 GMT</pubDate>
    <dc:creator>Indira Aramandla</dc:creator>
    <dc:date>2005-02-25T00:49:02Z</dc:date>
    <item>
      <title>auto logout user &amp; kill expire process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-logout-user-amp-kill-expire-process/m-p/3493226#M215309</link>
      <description>1) How to terminate user session &amp;amp; force quit from application if IDLE for a specific time example 15 minutes, each user use their own . profile&lt;BR /&gt;&lt;BR /&gt;2) How to automate kill inactive &amp;amp; expire process/session, sometimes user just close the application without proper logout OR with proper logout, but certain process still runnnig with ? when i run ps -ef,&lt;BR /&gt;at this moment i just know how to use kill -9 to kill the inactive process&lt;BR /&gt;&lt;BR /&gt;like both users in the attachment file, they already logout from application</description>
      <pubDate>Thu, 24 Feb 2005 22:17:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-logout-user-amp-kill-expire-process/m-p/3493226#M215309</guid>
      <dc:creator>Kelvin Ng</dc:creator>
      <dc:date>2005-02-24T22:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: auto logout user &amp; kill expire process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-logout-user-amp-kill-expire-process/m-p/3493227#M215310</link>
      <description>&lt;BR /&gt;1. You can force a terminal to log out after a period of inactivity by setting the TMOUT and TIMEOUT parameters in the /etc/profile file. The TMOUT parameter works in the ksh (Korn) shell, and the TIMEOUT parameter works in the bsh (Bourne) shell.&lt;BR /&gt;&lt;BR /&gt;The following example, taken from a .profile file, forces the terminal to log out after an hour of inactivity:&lt;BR /&gt;&lt;BR /&gt;TO=3600&lt;BR /&gt;echo "Setting Autologout to $TO"&lt;BR /&gt;TIMEOUT=$TO&lt;BR /&gt;TMOUT=$TO&lt;BR /&gt;export TIMEOUT TMOUT&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2. Mostly, the user's application will be exited when user session closed except if we used command like "nohub" .&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Feb 2005 00:20:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-logout-user-amp-kill-expire-process/m-p/3493227#M215310</guid>
      <dc:creator>VEL_1</dc:creator>
      <dc:date>2005-02-25T00:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: auto logout user &amp; kill expire process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-logout-user-amp-kill-expire-process/m-p/3493228#M215311</link>
      <description>Hi Kelvin,&lt;BR /&gt;&lt;BR /&gt;To drop idle sessioon try using the shell variables such a TMOUT.&lt;BR /&gt;&lt;BR /&gt;The idle telnet session can be automatically cleared by setting the timeout value. A non-zero value specifies the number of minutes to wait before an idle telnet session is timed out. The minimum value is 1 minute, the maximum is 512640 minutes (1 year).&lt;BR /&gt;&lt;BR /&gt;You can sett the TIMEOUT value to 15 minutes in the users profiles who use that application.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Indira A&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Feb 2005 00:49:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-logout-user-amp-kill-expire-process/m-p/3493228#M215311</guid>
      <dc:creator>Indira Aramandla</dc:creator>
      <dc:date>2005-02-25T00:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: auto logout user &amp; kill expire process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-logout-user-amp-kill-expire-process/m-p/3493229#M215312</link>
      <description>Hi Kelvin,&lt;BR /&gt;&lt;BR /&gt;At my place it is set in /etc/profile for 5 mins.I have added the following &lt;BR /&gt;&lt;BR /&gt;export TMOUT=300&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If you need to set timeout only for specific users then add the same entry in .profile for those users.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Syam</description>
      <pubDate>Fri, 25 Feb 2005 01:14:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-logout-user-amp-kill-expire-process/m-p/3493229#M215312</guid>
      <dc:creator>Ranjith_5</dc:creator>
      <dc:date>2005-02-25T01:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: auto logout user &amp; kill expire process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-logout-user-amp-kill-expire-process/m-p/3493230#M215313</link>
      <description>i create a new user, login &amp;amp; get the $ without any profile setting, is sh shell, put TMOUT into .profile, it work&lt;BR /&gt;&lt;BR /&gt;i logon with my userID with own profile that bring me to application menu, at the $, is ksh, put TMOUT into .profile, it doesn't work&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Feb 2005 02:20:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-logout-user-amp-kill-expire-process/m-p/3493230#M215313</guid>
      <dc:creator>Kelvin Ng</dc:creator>
      <dc:date>2005-02-25T02:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: auto logout user &amp; kill expire process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-logout-user-amp-kill-expire-process/m-p/3493231#M215314</link>
      <description>To whom it may concern,&lt;BR /&gt;&lt;BR /&gt;i put the TMOUT=15 in my home directory .profile, it auto logout &amp;amp; close the session when only i exit from application menu &amp;amp; get the $, refer to attach doc file.&lt;BR /&gt;&lt;BR /&gt;it won't auto logout when i still inside my application menu.&lt;BR /&gt;&lt;BR /&gt;(my requirement is we would like to logout ceratin IDLE users from their application menu)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;As for killing inactive/expire process, someone tell my to write a script &amp;amp; put in cron job, does any one have the scripts ?, will it kill of those process started by root or other important users ?</description>
      <pubDate>Sun, 06 Mar 2005 22:52:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-logout-user-amp-kill-expire-process/m-p/3493231#M215314</guid>
      <dc:creator>Kelvin Ng</dc:creator>
      <dc:date>2005-03-06T22:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: auto logout user &amp; kill expire process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-logout-user-amp-kill-expire-process/m-p/3493232#M215315</link>
      <description>Hi Kelvin,&lt;BR /&gt;TMOUT won't kill any sessions that have a sub-process (child) running for a good reason: If you're running a program/script that takes a long time, ending it prematurely could cause data corruption.&lt;BR /&gt;&lt;BR /&gt;I've attached a script that I use. Among other things, it checks for old logins and kills them if they have no children, and if they are not on a list of users NOT to kill.&lt;BR /&gt;It's designed to be run remotely via ssh, but it also works locally.</description>
      <pubDate>Mon, 07 Mar 2005 06:51:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-logout-user-amp-kill-expire-process/m-p/3493232#M215315</guid>
      <dc:creator>Gordon  Morrison</dc:creator>
      <dc:date>2005-03-07T06:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: auto logout user &amp; kill expire process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-logout-user-amp-kill-expire-process/m-p/3493233#M215316</link>
      <description>Here's another script that will clean up 'phantom' logins from utmp. These occur when a user doesn't logout cleanly, and the shell exits, but utmp doesn't get updated.</description>
      <pubDate>Mon, 07 Mar 2005 06:53:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-logout-user-amp-kill-expire-process/m-p/3493233#M215316</guid>
      <dc:creator>Gordon  Morrison</dc:creator>
      <dc:date>2005-03-07T06:53:32Z</dc:date>
    </item>
  </channel>
</rss>

