spasswd
For the spasswd wrapper program, I am thinking of patching it to run "passwd rjc" if the identity part of my security context is "rjc".
This gives the same protection against false password changes as the current scheme (lookup the Unix user-name matching the UID of the process and then check that it matches the SE Linux identity), but also has support for multiple accounts with the same UID. Having a separate "root" account with a different shell is fairly common practise.
Any objections? Any suggestions for other things I should change at the same time?
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.