Permission denied for /bin/mail

Marc Powell mpowell at ena.com
Fri Sep 26 16:28:47 CEST 2003


'man chmod'

Then after you've read that, 'chmod 775 /bin/mail' or add nagios to the
mail group, whichever works best in your environment and meets your
security policies.

--
Marc

> -----Original Message-----
> From: R. F. [mailto:visigoth at home.nl]
> Sent: Friday, September 26, 2003 9:12 AM
> To: nagios-users at lists.sourceforge.net
> 
> Hi, I'm getting the following errors when I start Nagios:
> 
> -----
> sh: line 1: /bin/mail: Permission denied
> 
> /bin/mail -s "Host DOWN alert for sv09!" visigoth at home.nl" resulted in
a
> return code of 126. Make sure the script or binary you are trying to
> execute actually exists...
> -----
> 
> /bin/mail is: -rwxrwx---    1 bin      mail        83905 Jun 23  2002
> /bin/mail*
> I asume I need to give user 'nagios' permission to execute that
binary?
> How do I do that?
> 
> Thanks.
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list