[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-security] cron and chkrootkit
- Subject: Re: [cobalt-security] cron and chkrootkit
- From: "John Mckean" <John.Mckean@xxxxxxxxxxx>
- Date: Wed, 25 Sep 2002 15:25:20 -0700
- List-id: Mailing list for users to address network security on Cobalt products. <cobalt-security.list.cobalt.com>
You should not have to restart crond on the cube. This happens automatically if you use "crontab -e" correct?
>>> njd76@xxxxxxxxxxx 09/25/02 10:38AM >>>
No i did not do that in the past but i tried it today and it did not work.
At 1:35 i wanted to run it as a test. I had the following in the
/etc/crontab
00 13:35 * * * (cd /home/sites/home/users/admin/chkrootkit-0.37;
./chkrootkit | mail -s "chkrootkit output" root 2>&1)
Again it works when i put the following below at the prompt. But not in the
crontab
#cd /home/sites/home/users/admin/chkrootkit-0.37; ./chkrootkit | mail -s
"chkrootkit output" root 2>&1)
Any other ideas here?
Please...
>From: Gerald Waugh <gwaugh@xxxxxxxxxxxxxxxxxxxxxxx>
>Reply-To: cobalt-security@xxxxxxxxxxxxxxx
>To: cobalt-security@xxxxxxxxxxxxxxx
>Subject: Re: [cobalt-security] cron and chkrootkit
>Date: Wed, 25 Sep 2002 12:59:45 -0400 (EDT)
>
>On Wed, 25 Sep 2002, njd 76 wrote:
>
> >
> > Still no luck... is there a log file somewhere with the error message?
> >
> > Made this change
> > 00 10 * * * (cd /home/sites/home/users/admin/chkrootkit-0.37;
>./chkrootkit
> > 2>&1 | mail -s "chkrootkit output" root)
> >
> > TO
> >
> > 00 10 * * * (cd /home/sites/home/users/admin/chkrootkit-0.37;
>./chkrootkit |
> > mail -s "chkrootkit output" root 2>&1)
> >
> > Both work at the command prompt. But the cron does not follow through.
>Any
> > other advice as to why this is not working?
> >
>Did you restart crond?
>/etc/rc.d/init.d/crond restart
>
>Gerald
>--
>http://frontstreetnetworks.com | http://raqware.com
>Front Street Networks LLC | Phone: +1 203-785-0699
>229 Front Street, Ste. C, New Haven, CT. 06513-3203
>
>_______________________________________________
>cobalt-security mailing list
>cobalt-security@xxxxxxxxxxxxxxx
>http://list.cobalt.com/mailman/listinfo/cobalt-security
_________________________________________________________________
Join the world's largest e-mail service with MSN Hotmail.
http://www.hotmail.com
_______________________________________________
cobalt-security mailing list
cobalt-security@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-security