{"id":4138,"date":"2015-01-27T19:07:31","date_gmt":"2015-01-27T11:07:31","guid":{"rendered":"http:\/\/rmohan.com\/?p=4138"},"modified":"2015-01-27T19:07:31","modified_gmt":"2015-01-27T11:07:31","slug":"enabling-automatic-logoff","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=4138","title":{"rendered":"Enabling automatic logoff"},"content":{"rendered":"<p>Let&#8217;s face it.  Sometimes admins leave themselves logged into a system and walk away.  Systems can be set to automatically logoff a user after a period of activity by setting some parameters in \/etc\/profile (Linux\/Solaris), \/etc\/security\/.profile (AIX).<\/p>\n<p>Append the following to the system profile:<\/p>\n<p>#Enable automatic logoff<br \/>\nTMOUT=600<br \/>\nTIMEOUT=600<br \/>\nreadonly TMOUT TIMEOUT<br \/>\nexport TMOUT TIMEOUT<br \/>\nSet readonly to prevent the variables from being overwritten.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Let&#8217;s face it. Sometimes admins leave themselves logged into a system and walk away. Systems can be set to automatically logoff a user after a period of activity by setting some parameters in \/etc\/profile (Linux\/Solaris), \/etc\/security\/.profile (AIX).<\/p>\n<p>Append the following to the system profile:<\/p>\n<p>#Enable automatic logoff TMOUT=600 TIMEOUT=600 readonly TMOUT TIMEOUT export TMOUT TIMEOUT [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,17],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/4138"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4138"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/4138\/revisions"}],"predecessor-version":[{"id":4139,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/4138\/revisions\/4139"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}