Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

/etc/shadow--ACL

807559Oct 8 2004 — edited Oct 18 2004
Hello,
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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 15 2004
Added on Oct 8 2004
4 comments
316 views