[prev in list] [next in list] [prev in thread] [next in thread] 

List:       scap-security-guide
Subject:    gconf_gnome_screensaver_idle_delay
From:       "Matos, Carlos M (ES)" <Carlos.Matos () ngc ! com>
Date:       2014-04-28 16:34:27
Message-ID: FFDF7D2C77976740B2B9D7013F3FDCD109FCEBED () XMBC3084 ! northgrum ! com
[Download RAW message or body]

Hello,



This is in response to the stig-rhel6-server-upstream xccdf profile. For Security \
Identifier CCE-26828-4 it states the following:



              Set GNOME Login Inactivity Timeout



Run the following command to set the idle time-out value for

inactivity in the GNOME desktop to 15 minutes:



# gconftool-2 \

  --direct \

  --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \

  --type int \

  --set /apps/gnome-screensaver/idle_delay 15



Setting the idle delay controls when the

screensaver will start, and can be combined with

screen locking to prevent access from passersby.



              CCE-26828-4



To check the current idle time-out value, run the following command:



$ gconftool-2 -g /apps/gnome-screensaver/idle_delay



If properly configured, the output should be 15.



There is two parts of my question:

1.       I believe that this is checking the wrong location for this setting. Setting \
an idle_delay value in /apps/gnome-screensaver/idle_delay has no effect on actually \
locking this setting down. In fact, the correct location should be: \
/desktop/gnome/session/idle_delay and the proper way to set this would be: # \
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
--type int --set /desktop/gnome/session/idle_delay 15

a.       This has been tested and verified and you can also see: Red Hat bug \
867945<https://bugzilla.redhat.com/show_bug.cgi?id=867945>

2.       I think it is well known that environments are always different. With that \
being said, in my instance, we set this value to 10, not 15, so of course this will \
fail.

a.       Is there a way to update this to check to ensure that this value is either \
<= 15 OR maybe between 5 and 15?





Carlos Matos

NGC - ES

Linux Systems Administrator

6120 Longbow Drive

720-622-6226


[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Cambria;
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{mso-style-priority:99;
	mso-style-link:"Plain Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.5pt;
	font-family:Consolas;}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.PlainTextChar
	{mso-style-name:"Plain Text Char";
	mso-style-priority:99;
	mso-style-link:"Plain Text";
	font-family:Consolas;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:493297919;
	mso-list-type:hybrid;
	mso-list-template-ids:664596056 67698703 67698713 67698715 67698703 67698713 \
67698715 67698703 67698713 67698715;} @list l0:level1
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoPlainText"><span \
style="font-size:11.0pt;font-family:&quot;Cambria&quot;,&quot;serif&quot;">Hello,<o:p></o:p></span></p>
 <p class="MsoPlainText"><span \
style="font-size:11.0pt;font-family:&quot;Cambria&quot;,&quot;serif&quot;"><o:p>&nbsp;</o:p></span></p>
 <p class="MsoPlainText"><span \
style="font-size:11.0pt;font-family:&quot;Cambria&quot;,&quot;serif&quot;">This is in \
response to the stig-rhel6-server-upstream xccdf profile. For Security Identifier \
CCE-26828-4 it states the following:<o:p></o:p></span></p> <p \
class="MsoPlainText">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></p> \
<p class="MsoPlainText">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set \
GNOME Login Inactivity Timeout<o:p></o:p></p> <p \
class="MsoPlainText">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
<o:p></o:p></p> <p class="MsoPlainText">Run the following command to set the idle \
time-out value for<o:p></o:p></p> <p class="MsoPlainText">inactivity in the GNOME \
desktop to 15 minutes:<o:p></o:p></p> <p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText"><span style="font-family:&quot;Courier New&quot;"># \
gconftool-2 \<o:p></o:p></span></p> <p class="MsoPlainText"><span \
style="font-family:&quot;Courier New&quot;">&nbsp; --direct \<o:p></o:p></span></p> \
<p class="MsoPlainText"><span style="font-family:&quot;Courier New&quot;">&nbsp; \
--config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \<o:p></o:p></span></p> \
<p class="MsoPlainText"><span style="font-family:&quot;Courier New&quot;">&nbsp; \
--type int \<o:p></o:p></span></p> <p class="MsoPlainText"><span \
style="font-family:&quot;Courier New&quot;">&nbsp; --set \
/apps/gnome-screensaver/idle_delay 15<o:p></o:p></span></p> <p \
class="MsoPlainText">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
<o:p></o:p></p> <p class="MsoPlainText">Setting the idle delay controls when \
the<o:p></o:p></p> <p class="MsoPlainText">screensaver will start, and can be \
combined with<o:p></o:p></p> <p class="MsoPlainText">screen locking to prevent access \
from passersby.<o:p></o:p></p> <p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
CCE-26828-4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
<o:p></o:p></p> <p class="MsoPlainText">&nbsp;&nbsp;<o:p></o:p></p>
<p class="MsoPlainText">To check the current idle time-out value, run the following \
command:<o:p></o:p></p> <p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText"><span style="font-family:&quot;Courier New&quot;">$ \
gconftool-2 -g /apps/gnome-screensaver/idle_delay<o:p></o:p></span></p> <p \
class="MsoPlainText"><span style="font-family:&quot;Courier \
New&quot;"><o:p>&nbsp;</o:p></span></p> <p class="MsoPlainText">If properly \
configured, the output should be 15.<o:p></o:p></p> <p \
class="MsoPlainText"><o:p>&nbsp;</o:p></p> <p class="MsoPlainText"><span \
style="font-size:11.0pt;font-family:&quot;Cambria&quot;,&quot;serif&quot;">There is \
two parts of my question:<o:p></o:p></span></p> <p class="MsoPlainText" \
style="margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo1"> <![if \
!supportLists]><span \
style="font-size:11.0pt;font-family:&quot;Cambria&quot;,&quot;serif&quot;"><span \
style="mso-list:Ignore">1.<span style="font:7.0pt &quot;Times New \
Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span></span></span><![endif]><span \
style="font-size:11.0pt;font-family:&quot;Cambria&quot;,&quot;serif&quot;">I believe \
that this is checking the wrong location for this setting. Setting an idle_delay \
value in </span><span style="font-size:11.0pt;font-family:&quot;Courier \
New&quot;">/apps/gnome-screensaver/idle_delay</span><span \
style="font-size:11.0pt;font-family:&quot;Cambria&quot;,&quot;serif&quot;"> has no \
effect on actually locking this setting down. In fact, the correct location should  \
be: /desktop/gnome/session/idle_delay and the proper way to set this would be: \
</span> <span style="font-size:11.0pt;font-family:&quot;Courier New&quot;"># \
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
--type int --set /desktop/gnome/session/idle_delay 15</span><span \
style="font-size:11.0pt;font-family:&quot;Cambria&quot;,&quot;serif&quot;"><o:p></o:p></span></p>
 <p class="MsoPlainText" style="margin-left:1.0in;text-indent:-.25in;mso-list:l0 \
level2 lfo1"> <![if !supportLists]><span \
style="font-size:11.0pt;font-family:&quot;Cambria&quot;,&quot;serif&quot;"><span \
style="mso-list:Ignore">a.<span style="font:7.0pt &quot;Times New \
Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span></span></span><![endif]><span \
style="font-size:11.0pt;font-family:&quot;Cambria&quot;,&quot;serif&quot;">This has \
been tested and verified and you can also see: <a \
href="https://bugzilla.redhat.com/show_bug.cgi?id=867945">Red Hat bug \
867945</a><o:p></o:p></span></p> <p class="MsoPlainText" \
style="margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo1"> <![if \
!supportLists]><span \
style="font-size:11.0pt;font-family:&quot;Cambria&quot;,&quot;serif&quot;"><span \
style="mso-list:Ignore">2.<span style="font:7.0pt &quot;Times New \
Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span></span></span><![endif]><span \
style="font-size:11.0pt;font-family:&quot;Cambria&quot;,&quot;serif&quot;">I think it \
is well known that environments are always different. With that being said, in my \
instance, we set this value to 10, not 15, so of course this will \
fail.<o:p></o:p></span></p> <p class="MsoPlainText" \
style="margin-left:1.0in;text-indent:-.25in;mso-list:l0 level2 lfo1"> <![if \
!supportLists]><span \
style="font-size:11.0pt;font-family:&quot;Cambria&quot;,&quot;serif&quot;"><span \
style="mso-list:Ignore">a.<span style="font:7.0pt &quot;Times New \
Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span></span></span><![endif]><span \
style="font-size:11.0pt;font-family:&quot;Cambria&quot;,&quot;serif&quot;">Is there a \
way to update this to check to ensure that this value is either &lt;= 15 OR maybe \
between 5 and 15?<o:p></o:p></span></p> <p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">Carlos Matos<o:p></o:p></p>
<p class="MsoPlainText">NGC - ES<o:p></o:p></p>
<p class="MsoPlainText">Linux Systems Administrator<o:p></o:p></p>
<p class="MsoPlainText">6120 Longbow Drive<o:p></o:p></p>
<p class="MsoPlainText">720-622-6226<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>


[Attachment #4 (unknown)]

_______________________________________________
scap-security-guide mailing list
scap-security-guide@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic