{"id":5192,"date":"2015-09-06T07:55:40","date_gmt":"2015-09-05T23:55:40","guid":{"rendered":"http:\/\/rmohan.com\/?p=5192"},"modified":"2015-09-06T07:55:40","modified_gmt":"2015-09-05T23:55:40","slug":"dtsession-timeout-variable-setting","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=5192","title":{"rendered":"dtsession timeout variable setting"},"content":{"rendered":"<table class=\"table\">\n<tbody>\n<tr>\n<td>Examine the dtsession timeout variable setting:<\/p>\n<p># cat \/etc\/dt\/config\/C\/sys.resources | grep -i dtsession | grep -i lockTimeout<br \/>\nIf the dtsession timeout is greater than 15, commented or does not exist, this is a finding.<\/p>\n<p>Examine the Open Windows timeout settings, both global and for every user.<\/p>\n<p># cat \/usr\/openwin\/lib\/app-defaults\/XScreenSaver | egrep -i &#8216;\\*(lock|timeout):&#8217;<br \/>\nIf the global Open Windows timeout is greater than 15 minutes, commented or does not exist, this is a finding. If the global lock setting is not true, this is a finding.<\/p>\n<p># cut -d: -f6 \/etc\/passwd | xargs -iX egrep -i &#8216;^(lock|timeout):&#8217; X\/.xscreensaver<br \/>\nIf the Open Windows timeout is greater than 15 minutes for any user, this is a finding. If the lock setting is not true for any user, this is a finding.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table class=\"table\">\n<thead>\n<tr>\n<th>Fix Text (F-33971r1_fix)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Configure the CDE lock manager to lock your screen after a certain amount of inactive time. To configure the CDE lock manager to lock the screen after 15 minutes of inactive time, enter the following commands (be sure NOT to overwrite an existing file).<br \/>\n# cp \/usr\/dt\/config\/C\/sys.resources \/etc\/dt\/config\/C\/sys.resources<br \/>\n# vi \/etc\/dt\/config\/C\/sys.resources<\/p>\n<p>Locate and add\/uncomment\/change the line to N=15.<br \/>\ndtsession*lockTimeout:<br \/>\ndtsession*lockTimeout: 15<\/p>\n<p>Log out of CDE and log back in to verify that the timeout is in effect.<\/p>\n<p>The timeout parameter in \/usr\/openwin\/lib\/app-defaults\/XScreenSaver and all users&#8217; .xscreensaver files should also be confirmed to be uncommented and set to 0:15:00.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p> Examine the dtsession timeout variable setting:<\/p>\n<p># cat \/etc\/dt\/config\/C\/sys.resources | grep -i dtsession | grep -i lockTimeout If the dtsession timeout is greater than 15, commented or does not exist, this is a finding.<\/p>\n<p>Examine the Open Windows timeout settings, both global and for every user.<\/p>\n<p># cat \/usr\/openwin\/lib\/app-defaults\/XScreenSaver | egrep -i &#8216;\\*(lock|timeout):&#8217; If [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/5192"}],"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=5192"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/5192\/revisions"}],"predecessor-version":[{"id":5193,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/5192\/revisions\/5193"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5192"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5192"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}