HPE GreenLake Administration
Operating System - HP-UX
1833832
Members
2018
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
09-05-2005 08:49 PM
09-05-2005 08:49 PM
I recently re-booted my hp-ux server (running 11i) and keep getting this error on sendmail -
/etc/mail/sendmail.cf: line 691: fileclass: cannot open /etc/mail/sendmail.cw: W
orld writable directory
WARNING: World writable directory /var
451 /etc/mail/sendmail.cf: line 691: fileclass: cannot open /etc/mail/sendmail.c
w: World writable directory
Could someone please explain (in english) what this means.
TIA
IAn
/etc/mail/sendmail.cf: line 691: fileclass: cannot open /etc/mail/sendmail.cw: W
orld writable directory
WARNING: World writable directory /var
451 /etc/mail/sendmail.cf: line 691: fileclass: cannot open /etc/mail/sendmail.c
w: World writable directory
Could someone please explain (in english) what this means.
TIA
IAn
Why did anyone invent unix?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2005 08:52 PM
09-05-2005 08:52 PM
Re: Sendmail
Here is your solution:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=837780
Alex
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=837780
Alex
I don't give a damn for a man that can only spell a word one way. (M. Twain)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2005 08:54 PM
09-05-2005 08:54 PM
Re: Sendmail
Hi Ian,
That menas the file sendmail.cf in /etc/mail directory is have privis to write for group and others.
the permissions of the file are
-rw-rw-rw- 1 bin bin 94312 Aug 24 08:47 sendmail.cf
where as the permissions should be
-rw-r--r-- 1 bin bin 94312 Aug 24 08:47 sendmail.cf
You can change the current permissions (666) to 644 for the file using the command chmod 644 /etc/mail/sendmail.cf
IA
That menas the file sendmail.cf in /etc/mail directory is have privis to write for group and others.
the permissions of the file are
-rw-rw-rw- 1 bin bin 94312 Aug 24 08:47 sendmail.cf
where as the permissions should be
-rw-r--r-- 1 bin bin 94312 Aug 24 08:47 sendmail.cf
You can change the current permissions (666) to 644 for the file using the command chmod 644 /etc/mail/sendmail.cf
IA
Never give up, Keep Trying
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2005 09:12 PM
09-05-2005 09:12 PM
Solution
Ian,
your problem seems "permission";
Step 1 - Verify files permission, make changes and restart sendmail daemon
(/sbin/init.d/sendmail stop | start). If this cannot solve the problem,
continue Step 2.
/usr/sbin/sendmail -r-sr-sr-t root mail (7555)
/usr/lib/sendmail -r-sr-sr-t root mail (7555)
/etc/ dr-xr-xr-x bin bin (555)
/etc/aliases -> /etc/mail/aliases lrwxr-xr-x root sys (755)
/etc/mail dr-xr-xr-x bin bin (555)
/etc/mail/aliases -r-r-r-- bin bin (444)
/etc/mail/aliases.db -rw-r-r-- root sys (644)
/etc/mail/sendmail.cf -r-r-r-- bin bin (444)
/etc/mail/sendmail.cw -rw-rw-rw- root sys (666)
/etc/nsswitch.conf -r-r-r-- root sys (444)
/etc/passwd -r-r-r-- root sys (444)
/etc/resolv.conf -rw-r-r-- root sys (644)
/home drwxr-xr-x root root (755)
/home/user_account -rwxr-xr-x uid users (755)
/home/user_account/.forward -rwxr-xr-x uid users (755)
/tmp drwxrwxrwx bin bin (777)
/usr/bin/rmail -r-sr-sr-x root mail (6555)
/var dr-xr-xr-x bin bin (555)
/var/adm drwxr-xr-x adm adm (755)
/var/adm/syslog dr-xr-xr-x root sys (555)
/var/adm/syslog/mail.log -r-r-r-- root root (444)
/var/mail drwxrwxr-x bin mail (775)
/var/mail/user_account -rw-rw---- uid mail (660)
/var/spool drwxr-xr-x bin bin (755)
/var/spool/mqueue drwxr-xr-x bin bin (755)
/var/spool/mqueue/qf* or df* -rw------- root mail (400)
/var/tmp drwxrwxrwx bin bin (777)
Step 2 - Rebuild Aliases files. Example below:
# /sbin/init.d/sendmail stop
Sendmail pid is 1238
Killing sendmail...
Sendmail killed.
# mv aliases.db /tmp
# mv aliases /tmp
# cd /usr/newconfig/etc/mail
# cp -p aliases /etc/mail
# cd /etc/mail
# ll aliase*
r-r-r-- 1 bin bin 870 Aug 8 2001 aliases
# newaliases
/etc/mail/aliases: 7 aliases, longest 9 bytes, 88 bytes total
# ll aliase*
r-r-r-- 1 bin bin 870 Aug 8 2001 aliases
rw-r-r-- 1 root mail 24576 Oct 31 13:09 aliases.db
# /sbin/init.d/sendmail start
Good Luck,
your problem seems "permission";
Step 1 - Verify files permission, make changes and restart sendmail daemon
(/sbin/init.d/sendmail stop | start). If this cannot solve the problem,
continue Step 2.
/usr/sbin/sendmail -r-sr-sr-t root mail (7555)
/usr/lib/sendmail -r-sr-sr-t root mail (7555)
/etc/ dr-xr-xr-x bin bin (555)
/etc/aliases -> /etc/mail/aliases lrwxr-xr-x root sys (755)
/etc/mail dr-xr-xr-x bin bin (555)
/etc/mail/aliases -r-r-r-- bin bin (444)
/etc/mail/aliases.db -rw-r-r-- root sys (644)
/etc/mail/sendmail.cf -r-r-r-- bin bin (444)
/etc/mail/sendmail.cw -rw-rw-rw- root sys (666)
/etc/nsswitch.conf -r-r-r-- root sys (444)
/etc/passwd -r-r-r-- root sys (444)
/etc/resolv.conf -rw-r-r-- root sys (644)
/home drwxr-xr-x root root (755)
/home/user_account -rwxr-xr-x uid users (755)
/home/user_account/.forward -rwxr-xr-x uid users (755)
/tmp drwxrwxrwx bin bin (777)
/usr/bin/rmail -r-sr-sr-x root mail (6555)
/var dr-xr-xr-x bin bin (555)
/var/adm drwxr-xr-x adm adm (755)
/var/adm/syslog dr-xr-xr-x root sys (555)
/var/adm/syslog/mail.log -r-r-r-- root root (444)
/var/mail drwxrwxr-x bin mail (775)
/var/mail/user_account -rw-rw---- uid mail (660)
/var/spool drwxr-xr-x bin bin (755)
/var/spool/mqueue drwxr-xr-x bin bin (755)
/var/spool/mqueue/qf* or df* -rw------- root mail (400)
/var/tmp drwxrwxrwx bin bin (777)
Step 2 - Rebuild Aliases files. Example below:
# /sbin/init.d/sendmail stop
Sendmail pid is 1238
Killing sendmail...
Sendmail killed.
# mv aliases.db /tmp
# mv aliases /tmp
# cd /usr/newconfig/etc/mail
# cp -p aliases /etc/mail
# cd /etc/mail
# ll aliase*
r-r-r-- 1 bin bin 870 Aug 8 2001 aliases
# newaliases
/etc/mail/aliases: 7 aliases, longest 9 bytes, 88 bytes total
# ll aliase*
r-r-r-- 1 bin bin 870 Aug 8 2001 aliases
rw-r-r-- 1 root mail 24576 Oct 31 13:09 aliases.db
# /sbin/init.d/sendmail start
Good Luck,
Our greatest duty in this life is to help others. And please, if you can't
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP