- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Sendmail warning
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2004 11:00 AM
11-10-2004 11:00 AM
Sendmail warning
newaliases: cannot open /etc/mail/aliases: Group writable file
-rwxrwxrwx 1 root sys 897 Oct 28 22:57 aliases
-rwxrwxrwx 1 root mail 24576 Nov 10 17:54 aliases.db
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2004 11:03 AM
11-10-2004 11:03 AM
Re: Sendmail warning
# ll /etc/mail
total 270
-r--r--r-- 1 bin bin 1127 Aug 19 2003 aliases
-rw-r--r-- 1 root mail 24576 Nov 6 20:23 aliases.db
-r--r--r-- 1 bin bin 10222 Nov 14 2000 mailcap
-r--r--r-- 1 bin bin 94283 Apr 30 2002 sendmail.cf
-r--r--r-- 1 bin bin 732 Aug 31 2003 sendmail.cw
-rw-r--r-- 1 root mail 34 Nov 6 20:23 sendmail.pid
-r--r--r-- 1 bin bin 1012 Nov 14 2000 service.switch
One further thing to note, perhaps you'd better look at other files on your system. It looks to me it could be open slather for anyone wishing to hack your box.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2004 11:10 AM
11-10-2004 11:10 AM
Re: Sendmail warning
An example of this would be setting up a sendmail alias that can be used to send spam.
Change the permissions on the files to match those in the prior post and the warning will stop.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2004 11:14 AM
11-10-2004 11:14 AM
Re: Sendmail warning
-rw-r--r-- 1 bin bin 897 Oct 28 22:57 aliases
-rw-r--r-- 1 root mail 24576 Nov 10 18:13 aliases.db
Now display of following message
warning: /etc/mail/aliases has world read or write permission. This is unsafe.
warning: /etc/mail/aliases.db has world read or write permission. This is unsafe
.
/etc/mail/aliases: 8 aliases, longest 9 bytes, 112 bytes total
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2004 03:43 PM
11-10-2004 03:43 PM
Re: Sendmail warning
Did you restart sendmail daemon after you modified the file's permission?
^^
Good day^^
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2004 04:15 PM
11-10-2004 04:15 PM
Re: Sendmail warning
Restart the sendmail daemon.
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Now it should stop warning.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2004 04:21 PM
11-10-2004 04:21 PM
Re: Sendmail warning
Ensure the permissions of /etc and /etc/mail are not set with world write permissions. Also check the home directory of root for appropriate permissions including /.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2004 02:51 AM
11-11-2004 02:51 AM
Re: Sendmail warning
# ./S541sendmail stop
kill: 3840: no such process
Killed
# ./S541sendmail start
InterScan Email VirusWall is up and running.
warning: /etc/mail/aliases has world read or write permission. This is unsafe.
warning: /etc/mail/aliases.db has world read or write permission. This is unsafe
.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2004 03:12 AM
11-11-2004 03:12 AM
Re: Sendmail warning
For me, /etc/mail is:
dr-xr-xr-x bin bin /etc/mail
Fred
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2004 03:25 AM
11-11-2004 03:25 AM
Re: Sendmail warning
drwxr-xr-x 3 bin bin 1024 Nov 10 17:54 mail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2004 03:30 AM
11-11-2004 03:30 AM
Re: Sendmail warning
Change the permissions to look like
dr-xr-xr-x 2 bin bin 1024 Mar 11 2004 /etc/mail
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2004 03:35 AM
11-11-2004 03:35 AM
Re: Sendmail warning
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2004 03:36 AM
11-11-2004 03:36 AM
Re: Sendmail warning
dr-xr-xr-x 30 bin bin 8192 Nov 10 15:43 /etc
drwxr-xr-x 41 root root 1024 May 5 2004 /
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2004 03:39 AM
11-11-2004 03:39 AM
Re: Sendmail warning
write permission. This is unsafe.
warning: /etc/mail/aliases.db has world read or write permission. This is unsafe.
Recommended action
Execute the following commands.
# chmod 640 /etc/mail/aliases
# chmod 640 /etc/mail/aliases.db
# sendmail -bi
Best regards,
Robert-Jan