[plug] problems with sendmail

Leon Brooks leon at brooks.fdns.net
Sat Aug 4 22:07:32 WST 2001


Brian Tombleson wrote:

> The latter versions of sendmail progressively get tighter on their security.

> It's warning you about a possible security hole where .forward files are
> group writable.

> Literally, check the permission on the ~teste/.forward file and take make
> sure chmod g-w

Actually, chmod go-rwx /home/*/.forward is a better bet. And also try 
this one:

     gawk </etc/passwd -F: \
       '/:\/home/ { print "chown "$3":"$4" "$6"/.forward" }' | sh

This resets ownership of all ~/.forward files on the system.

Perhaps there is a shorter way to do that in PERL? (-:

Cheers




More information about the plug mailing list