[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
    Search the FAQ Archives

Single Page

Top Document: comp.sys.hp.hpux FAQ
Previous Document: 5.1.1 How do group privileges work?
Next Document: 5.1.3 How can I restrict regular users from logging in at the console?


5.1.2 Why are mail files in /var/mail owned by 'daemon' instead of the recipient?



The mail delivery agent /bin/rmail needs to be able to chown(2) these
files.  It can not do so if you have removed the privilege CHOWN (see
setprivgrp(1m); removing CHOWN is recommended to prevent cheating on disk
quotas).  To get around this, noting that /bin/rmail runs setgid to group
mail, you can grant privilege CHOWN to group mail only by inserting the
line "mail CHOWN" in /etc/privgroup.  The change takes effect on the next
reboot, or immediately if you execute the command
"setprivgrp -f /etc/privgroup".



Top Document: comp.sys.hp.hpux FAQ
Previous Document: 5.1.1 How do group privileges work?
Next Document: 5.1.3 How can I restrict regular users from logging in at the console?

Single Page


[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
hpux.faq@gmail.com

Last Update October 22 2009 @ 05:25 AM

Some parts © 2009 Advameg, Inc.