SE Linux questions
[Is SE Linux ready for production]
I'm running two ISPs on SE Linux. I think it's production ready.
The only problem with SE Linux at the moment for serious installations is the lack of support for backup of security contexts of files. This will be fully addresses in Linux 2.6.0, and in the mean time there are hacks you can use, but nothing satisfactory.
However for a typical multi-user system the files you are most interested in controlling are system files (which can easily be relabeled after a restore). The labels for 99% of user files can also be correctly re-assigned by the setfiles program. Of the other 1%, most of such files don't even exist if you don't have users running programs such as Netscape or UML.
As you won't want people using your server for running Netscape then the most you will have to worry about is some small difficulty with UML, which could easily be fixed by changing the policy. Also as your typical user probably won't be interested in great security they will probably run UML kernels under their own user domain, in which case the issue is moot.
[Can I patch procmail in a similar way to login etc]
I have considered the possibility of patching a mail server to run procmail for delivery in a special user context. Then procmail can safely access the .procmailrc file and deliver mail to the user's home directory, but it can't access the home directory of a user in another role.
However will you even be using multiple roles? For a system such as you describe it's likely that you will have three roles, staff_r (for minor administration tasks), sysadm_r (for serious administration - mkfs, fdisk, etc), and user_r (for the users). Now if you demand that all people in staff_r also have an account in user_r for their email, then you can just restrict procmail to only accessing user_r.
The above are some questions I answered in private mail. I decided that other people on the list may be interested so I posted an extract here.
Signature · 10 lines
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/~russell/ My home page -- 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.