LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-10-2004, 03:29 PM   #1
phpsharma
LQ Newbie
 
Registered: Aug 2004
Location: hyderabad
Posts: 21

Rep: Reputation: 15
maillog has dangerous warnings??


Hi all,

My mail log showing dangerous warnings like this..

whats the problem and how to stop this. Please help me.


Nov 10 12:37:02 mysite sendmail[7085]: /etc/sendmail.cf: WARNING: dangerous write permissions
Nov 10 12:37:02 mysite sendmail[7085]: NOQUEUE: SYSERR(root): /etc/sendmail.cf: line 86: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
Nov 10 12:37:03 mysite sendmail[7095]: /etc/sendmail.cf: WARNING: dangerous write permissions
Nov 10 12:37:03 mysite sendmail[7095]: NOQUEUE: SYSERR(root): /etc/sendmail.cf: line 86: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
Nov 10 12:37:03 mysite sendmail[7096]: /etc/sendmail.cf: WARNING: dangerous write permissions
Nov 10 12:37:03 mysite sendmail[7096]: NOQUEUE: SYSERR(root): /etc/sendmail.cf: line 86: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
Nov 10 12:37:03 mysite sendmail[7097]: /etc/sendmail.cf: WARNING: dangerous write permissions
Nov 10 12:37:03 mysite sendmail[7097]: NOQUEUE: SYSERR(root): /etc/sendmail.cf: line 86: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
Nov 10 12:37:03 mysite sendmail[7099]: /etc/sendmail.cf: WARNING: dangerous write permissions
Nov 10 12:37:03 mysite sendmail[7099]: NOQUEUE: SYSERR(root): /etc/sendmail.cf: line 86: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
Nov 10 12:37:03 mysite sendmail[7100]: /etc/sendmail.cf: WARNING: dangerous write permissions
Nov 10 12:37:03 mysite sendmail[7100]: NOQUEUE: SYSERR(root): /etc/sendmail.cf: line 86: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
Nov 10 12:37:03 mysite sendmail[7101]: /etc/sendmail.cf: WARNING: dangerous write permissions
Nov 10 12:37:03 mysite sendmail[7083]: iAAJb2007083: from=root, size=966, class=0, nrcpts=1, msgid=<200411101937.iAAJb2007083@mysite.mysite.com>, relay=root@localhost

Thanks in advance,
sharma
 
Old 11-10-2004, 03:37 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 122Reputation: 122
/etc/sendmail.cf should only be writable by root. chmod 644, 640, or 600. a similar issue apparently exists on the /etc/mail/local-host-names directory. chmod it 755, 750, or 700 (as appropriate). Make sure only root has write, I believe.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dangerous Religion danimalz General 692 02-07-2006 04:36 PM
Not exactly a newbie, but still dangerous jhenager LinuxQuestions.org Member Intro 2 09-19-2005 03:51 PM
is this dangerous? Kendo1979 Linux - Security 3 05-18-2005 12:31 AM
Is Knoppix dangerous? Ander Linux - Newbie 9 04-18-2003 02:05 PM
What is so dangerous about using root? frontier1 Linux - Newbie 14 02-28-2003 10:21 AM


All times are GMT -5. The time now is 11:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration