seusers.conf file
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 5 lines · Daniel J Walsh
I have created an seusers.conf file with the following contents root:root:s0-s0:c0.c127
default:user_u:s0
Quoted 8 lines
Got a pam module that works with it, pretty well. Problem is, which RPM should I include this in?
I could just add it to libselinux or put it in a policy file. Problem with policy files is it would conflict.
This would probably conf file you would want for mls.Ideas?
Taking your question to the list for wider discussion.
So, to provide context for others, at present, seusers.conf (the file introduced by Dan that maps Linux users to SELinux users and, if MLS is enabled, MLS levels/ranges) lives directly in /etc/selinux rather than /etc/selinux/$SELINUXTYPE. Whether or not that is the right location for the flat file backend was raised earlier on the list but there was no clear answer, since on the one hand, it does contain policy-specific information but on the other hand, other backends (e.g. LDAP database) are likely to be completely external to policy entirely. This file is only used by libselinux (getseuserbyname), so we can easily relocate it if desired.
Dan's question now is what package should own the file.
In a way, this seems similar to the passwd file, which seems to be owned by a generic package called "setup" that also owns many other /etc config files.
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.