[newbie] Mail cron job output.

2005-03-26 Thread Simon
I am running the following cron job: /usr/bin/rkhunter -c | mail [EMAIL PROTECTED] -s Rkhunter Check 21 I get the following message : Output from command /usr/bin/rkhunter -c | mail [EMAIL PROTECTED] -s Rkhunter Check 21 .. /bin/sh: line 1: mail: command not found Any ideas how to get the

[newbie] Mail cron job output.

2005-03-26 Thread Simon
I am running the following cron job: /usr/bin/rkhunter -c | mail [EMAIL PROTECTED] -s Rkhunter Check 21 I get the following message : Output from command /usr/bin/rkhunter -c | mail [EMAIL PROTECTED] -s Rkhunter Check 21 .. /bin/sh: line 1: mail: command not found Any ideas how to get the

Re: [newbie] Mail cron job output.

2005-03-26 Thread Derek Jennings
On Saturday 26 March 2005 13:58, Simon wrote: I am running the following cron job: /usr/bin/rkhunter -c | mail [EMAIL PROTECTED] -s Rkhunter Check 21 I get the following message : Output from command /usr/bin/rkhunter -c | mail [EMAIL PROTECTED] -s Rkhunter Check 21 .. /bin/sh: line 1:

Re: [newbie] Mail cron job output.

2005-03-26 Thread Simon
On Saturday 26 Mar 2005 14:15, Derek Jennings wrote: Try /usr/bin/rkhunter -c | /bin/mail [EMAIL PROTECTED] -s Rkhunter Check 21 If that does not work check the mail package is installed. Derek I tried that but it failed with : /bin/sh: line 1: /bin/mail: No such file or directory what

Re: [newbie] Mail cron job output.

2005-03-26 Thread Chris
On Saturday 26 March 2005 07:58 am, Simon wrote: I am running the following cron job: /usr/bin/rkhunter -c | mail [EMAIL PROTECTED] -s Rkhunter Check 21 I get the following message : Output from command /usr/bin/rkhunter -c | mail [EMAIL PROTECTED] -s Rkhunter Check 21 .. /bin/sh: line 1:

Re: [newbie] Mail cron job output.

2005-03-26 Thread Simon
On Saturday 26 Mar 2005 14:50, Chris wrote: Simon, this is how I have my rkhunter cronjob setup /usr/local/bin/rkhunter --cronjob --createlogfile -c and I have the following entry in my /etc/crontab: SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin [EMAIL PROTECTED] therefore all

Re: [newbie] Mail cron job output.

2005-03-26 Thread Derek Jennings
On Saturday 26 March 2005 14:38, Simon wrote: On Saturday 26 Mar 2005 14:15, Derek Jennings wrote: Try /usr/bin/rkhunter -c | /bin/mail [EMAIL PROTECTED] -s Rkhunter Check 21 If that does not work check the mail package is installed. Derek I tried that but it failed with : /bin/sh:

Re: [newbie] Mail cron job output.

2005-03-26 Thread Simon
On Saturday 26 Mar 2005 15:17, Derek Jennings wrote: mailx That's it Derek, I installed the missing mail program and all works fine now. Thanks to Chris and your good self. Simon. -- Linux Counter number 359744. http://counter.li.org/ GnuPG Key:

Re: [newbie] Mail cron job output.

2005-03-26 Thread Stephen Kühn
On Sat, 2005-03-26 at 23:35, Simon wrote: I am running the following cron job: /usr/bin/rkhunter -c | mail [EMAIL PROTECTED] -s Rkhunter Check 21 I get the following message : Output from command /usr/bin/rkhunter -c | mail [EMAIL PROTECTED] -s Rkhunter Check 21 .. /bin/sh: line 1:

Re: [newbie] Mail cron job output.

2005-03-26 Thread Simon
On Saturday 26 Mar 2005 22:33, Stephen Kühn wrote: On Sat, 2005-03-26 at 23:35, Simon wrote: I am running the following cron job: /usr/bin/rkhunter -c | mail [EMAIL PROTECTED] -s Rkhunter Check 21 I get the following message : Output from command /usr/bin/rkhunter -c | mail [EMAIL