Karel Kulhavy wrote:
I am getting this message from Charlie Root over and over:

Checking mailbox ownership.
user clock mailbox is drwx------, group users

Does it mean I should change the mailbox flags or group? If yes, what are
the correct values then?


Needs to be owned by the system user, e.g:


$ ls -ld /var/mail/someone
drwx------  9 someone  users  512 Dec 20  2006 /var/mail/someone/



But, you will still get the alerts unless you patch /etc/security as this script assumes mboxes, not maildirs. The below allows for both:

$ rcsdiff -r1.1 /etc/security
===================================================================
RCS file: /etc/RCS/security,v
retrieving revision 1.1
diff -r1.1 /etc/security
428c428
<      $1 != "-rw-------" \
---
>      $1 != "-rw-------" && $1 != "drwx------" \

Reply via email to