<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=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 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:12.0pt;
        font-family:"Times New Roman","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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.listing-address
        {mso-style-name:listing-address;}
span.street-address
        {mso-style-name:street-address;}
span.city-state
        {mso-style-name:city-state;}
span.locality
        {mso-style-name:locality;}
span.region
        {mso-style-name:region;}
span.postal-code
        {mso-style-name:postal-code;}
p.emailquote, li.emailquote, div.emailquote
        {mso-style-name:emailquote;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.emailquote1, li.emailquote1, div.emailquote1
        {mso-style-name:emailquote1;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:1.0pt;
        border:none;
        padding:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle30
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></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="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">The /etc/crontab file is what I was missing.&nbsp; I simply did the user specific &quot;crontab -e&quot; command out of habit.&nbsp; Old dog, new tricks.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Robert<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div>
<p class="MsoNormal" style="text-autospace:none"><b><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:navy">Robert Hayden</span></b><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:navy"> | Sr. Technology Architect | Cerner
 Corporation | 816.201.4068 | <a href="mailto:rhayden@cerner.com">rhayden@cerner.com</a> |
</span><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1F497D"><a href="www.cerner.com">www.cerner.com</a><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> scap-security-guide-bounces@lists.fedorahosted.org [mailto:scap-security-guide-bounces@lists.fedorahosted.org]
<b>On Behalf Of </b>Bryan Harris<br>
<b>Sent:</b> Friday, August 09, 2013 11:57 AM<br>
<b>To:</b> scap-security-guide@lists.fedorahosted.org<br>
<b>Cc:</b> scap-security-guide@lists.fedorahosted.org<br>
<b>Subject:</b> Re: Does aide_periodic_cron_checking have an incorrect fix documented?<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">The sixth element is the user to run the command. The /etc/crontab file can run the command as any user. Same goes for files placed in /etc/cron.d folder IIRC.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">On my RHEL 6.4 server there is a pretty obvious comment explaining the fields at the top of /etc/crontab unless I'm mistaken. Do you have a comment block on your servers in that file?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">In any case all they're doing is giving one example that works. They say at the bottom there are other means (root's own crontab, another user via sudo, etc.)<br>
<br>
Bryan<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
On Aug 9, 2013, at 12:52 PM, Paul Whitney &lt;<a href="mailto:paul.whitney@mac.com">paul.whitney@mac.com</a>&gt; wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal">Pretty sure you are correct.&nbsp; This is an entry that should be in root's crontab, without the word &quot;root&quot;.<o:p></o:p></p>
</div>
<div>
<pre style="white-space:pre-wrap"><span style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;">Paul M. Whitney<br>RHCSA, VCP<br><br>Chesapeake IT Consulting, Inc.<br><span class="street-address">2680 Tobacco Rd</span><br><span class="locality">Chesapeake Beach, </span><span class="region">MD</span><span class="city-state"><o:p></o:p></span></span></pre>
<pre><span class="postal-code"><span style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;">20732</span></span><span class="city-state"><span style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;"><o:p></o:p></span></span></pre>
<pre><span style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;"><br><br>Work: 301.543.3716<br>Cell:&nbsp;&nbsp; 410.493.9448<o:p></o:p></span></pre>
<pre><span style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;"><a href="mailto:paul.whitney@mac.com">paul.whitney@mac.com</a><o:p></o:p></span></pre>
<pre><span style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></pre>
<pre><span style="font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></pre>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
On Aug 09, 2013, at 12:38 PM, &quot;Hayden,Robert&quot; &lt;<a href="mailto:RHAYDEN@CERNER.COM">RHAYDEN@CERNER.COM</a>&gt; wrote:<o:p></o:p></p>
<div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal">I was reviewing the Rule: <strong>aide_periodic_cron_checking</strong> and noticed the following recommended fix:<o:p></o:p></p>
</div>
<div style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">----start quote----<o:p></o:p></p>
</div>
<div style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">To implement a daily execution of AIDE at 4:05am using cron, add the following line to
<span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">/etc/crontab</span>: <o:p>
</o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">05 4 * * * root /usr/sbin/aide --check</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">AIDE can be executed periodically through other means; this is merely one example.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">---- end quote------<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">This fix is also documented in the RHEL STIG version 1 release 2.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I believe that is an incorrect line for crontab as the 6<sup><span style="font-size:7.5pt">th</span></sup> element is to be the executed command.&nbsp; On my RHEL 6.4 machine, &quot;root&quot; is not a valid command and&nbsp; I receive the following in local
 mail box<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"># mail<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Heirloom Mail version 12.4 7/29/08.&nbsp; Type ? for help.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&quot;/var/spool/mail/root&quot;: 1 message 1 new<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&gt;N&nbsp; 1 Cron Daemon&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Fri Aug&nbsp; 9 04:05&nbsp; 23/1036&nbsp; &quot;Cron &lt;root@techval15&gt; root /usr/sbin/aide --check&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&amp; 1<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Message&nbsp; 1:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">From <a href="mailto:root@techval15.northamerica.cerner.net">
root@techval15.northamerica.cerner.net</a>&nbsp; Fri Aug&nbsp; 9 04:05:01 2013<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Return-Path: &lt;<a href="mailto:root@techval15.northamerica.cerner.net">root@techval15.northamerica.cerner.net</a>&gt;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Date: Fri, 9 Aug 2013 04:05:01 -0500<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">From: <a href="mailto:root@techval15.northamerica.cerner.net">
root@techval15.northamerica.cerner.net</a> (Cron Daemon)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">To: <a href="mailto:root@techval15.northamerica.cerner.net">
root@techval15.northamerica.cerner.net</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Subject: Cron &lt;root@techval15&gt; root /usr/sbin/aide --check<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Content-Type: text/plain; charset=ISO-8859-1<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Auto-Submitted: auto-generated<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">X-Cron-Env: &lt;SHELL=/bin/sh&gt;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">X-Cron-Env: &lt;HOME=/root&gt;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">X-Cron-Env: &lt;PATH=/usr/bin:/bin&gt;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">X-Cron-Env: &lt;LOGNAME=root&gt;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">X-Cron-Env: &lt;USER=root&gt;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Status: R<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="background:yellow">/bin/sh: root: command not found</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Am I missing something?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Robert<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><strong><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:navy">Robert Hayden</span></strong><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:navy"> | Sr. Technology Architect | Cerner Corporation
 | 816.201.4068 | <a href="mailto:rhayden@cerner.com">rhayden@cerner.com</a> | </span>
<u><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue"><a href="http://www.cerner.com">www.cerner.com</a></span></u><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information
 under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify
 the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (&#43;1) (816)221-1024.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">_______________________________________________<br>
scap-security-guide mailing list<br>
<a href="mailto:scap-security-guide@lists.fedorahosted.org">scap-security-guide@lists.fedorahosted.org</a><br>
<a href="https://urldefense.proofpoint.com/v1/url?u=https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide&amp;k=PmKqfXspAHNo6iYJ48Q45A%3D%3D%0A&amp;r=MeiC35CFRyFVyqWUnw11jlPbFzJPYPeXmyplv564q7o%3D%0A&amp;m=srzESgYPteuGTVhBfVlT35dlOzjHzBkk%2Bg5wEv4LHa0%3D%0A&amp;s=b0b9e43c84ad7fe237a48cbfca588072f92bb813cf9a2e932c595d4c9f110754">https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide</a><o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">_______________________________________________<br>
scap-security-guide mailing list<br>
<a href="mailto:scap-security-guide@lists.fedorahosted.org">scap-security-guide@lists.fedorahosted.org</a><br>
<a href="https://urldefense.proofpoint.com/v1/url?u=https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide&amp;k=PmKqfXspAHNo6iYJ48Q45A%3D%3D%0A&amp;r=MeiC35CFRyFVyqWUnw11jlPbFzJPYPeXmyplv564q7o%3D%0A&amp;m=srzESgYPteuGTVhBfVlT35dlOzjHzBkk%2Bg5wEv4LHa0%3D%0A&amp;s=b0b9e43c84ad7fe237a48cbfca588072f92bb813cf9a2e932c595d4c9f110754">https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide</a><o:p></o:p></p>
</div>
</blockquote>
</div>
</body>
</html>