password policy question
Hello,
I am looking at the serefpolicy-2.2.2 (downloaded this morning from fedora core development SRPMS) and am trying to figure out how, in an mls environment, a user logged in at anything other s0 would be able to change his/her password. I expected to see a "typeattribute passwd_t mlsfilewrite" in the monolithic policy.conf file that I generated. What am I missing?
I haven't installed this policy on my test machine. I just created the policy file for a training class.
Thanks.
-Janak
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 11 lines · JANAK DESAI
Hello,
I am looking at the serefpolicy-2.2.2 (downloaded this morning from fedora core
development SRPMS) and am trying to figure out how, in an mls environment, a
user logged in at anything other s0 would be able to change his/her password. I
expected to see a "typeattributepasswd_tmlsfilewrite" in the monolithic policy.conf
file that I generated. What am I missing?
Is that really what you want? It would allow a high process to downgrade information via the passwd file.
Signature · 8 lines
Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 13 lines · Stephen Smalley
Quoted 9 lines · JANAK DESAI
Hello,
I am looking at the serefpolicy-2.2.2 (downloaded this morning from fedora core development SRPMS) and am trying to figure out how, in an mls environment, a user logged in at anything other s0 would be able to change his/her password. I expected to see a "typeattribute
passwd_tmlsfilewrite" in the monolithic policy.conf file that I generated. What am I missing?
Quoted 5 lines
Is that really what you want? It would allow a high process to downgrade information via the passwd file.
What happens if you have user that is defined with mls range of s3 to s9. How would this user change their password? Looking at the password policy, I couldn't figure out how that would work.
-Janak
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 3 lines · JANAK DESAI
What happens if you have user that is defined with mls range of s3 to s9. How would this user change their password? Looking at the password policy, I couldn't figure out how that would work.
In that case, if the passwd file was labeled s0, they wouldn't - they would have to ask an admin to do it for them. Otherwise, you are allowing an arbitrary user process to downgrade info through the passwd file, as I said.
Signature · 8 lines
Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.