Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sendmail - World Writable Systems and Aliases 1

Status
Not open for further replies.

hellsing

MIS
Sep 3, 2001
97
GB
Hi,
I've got a problem with Sendmail on SCO openserver 5.0.6.

When I try to start sendmail up, it errors with a message saying the /usr/lib/uucp/Systems is World Writable.
I cannot change the permissions on /usr/lib/uucp/Systems as it is a link to /var/opt/K/SCO/Unix/5.0.6Ga/usr/lib/uucp/Systems. I have however changed the permissions on this file but it makes no difference.


As a test I changed the sendmail.cf file to not point to Systems in /usr/lib/uucp but instead to /var/opt/K/SCO/Unix/5.0.6Ga/usr/lib/uucp/Systems.

This allows me to start sendmail up but when I try to send a message I get errors regarding aliases. These errors are firstly that /usr/lib/mail/aliases.db is World Writable and secondly that /usr/lib/mail/aliases doesn't exist.

Both these files exist and neither have write permissions at all. They are also both owned by root.


I have also tried newaliases -v and this complains about Systems being Worl Writeable. Also it does say the .cf file is old in that its version 5 and I'm using sendmail version 8.9.3 but I didn't think that would be a problem.


Has anyone got any idea whats going on here.

Thanks.
 
Are the directories they're in world writeable? If so, change them to be world read-only as well.
 
The directories they are sitting in dont have any write permissions at all.
 
Try running integrity -e as root.

If it finds any discrepancies fixmog will sort them out.

If that doesn't work... is this part of the built-in sendmail or one that you installed yourself?

Annihilannic.
 
Annihilannic, you are a star. I ran integrity -e followed by fixmog. When trying to start sendmail (as root) it then moaned about no permission to access Systems. I changed the uucp directory to mode 555 and tried again and all is now working. Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top