/etc/shadow--ACL
807559Oct 8 2004 — edited Oct 18 2004Hello,
I have a Solaris 8 /etc/shadow with the following file ownership and permissions
-rw-r----- 1 root root 462 Oct 8 11:06 /etc/shadow
I added this acl to allow the group staff to be able to grep their password entry from a script
so they can change their password if its less than five days before its expiration date
setfacl -s group:staff:r--,user::rw-,group::r--,mask:r--,other:--- /etc/shadow
Everything works fine, except when a user changes his/her password the /etc/shadow file loses
its ACL entry and reverts back to -rw-r---- (with no + sign ACL presence indicator)
Any suggestions?
Thanks in Advance.