On Sat, 5 Jan 2002, Shaun Savage wrote:
> during login with selinux, the question "do you want to change context"
> is asked. My feeling is that this creates complexity problem. I have
> changed get_user_sid() to get_default_user_sid(). This does not confuse
> "the user" also, if someone does get root this adds one more fence.
It seems like you are moving in the wrong direction here. Even if a user specifies a security context to login, he is still limited by the kernel to the set of authorized roles and domains that are legal for the user (policy/users and policy/rbac) and that are reachable from the login process (i.e. there must be a domain_auto_trans rule or a domain_trans rule in login.te). So there is no real risk in permitting the user to specify a security context at login time.
Even if you remove this support, a user can still change roles later via newrole. I doubt that you want to remove that program and domain.
With regard to root, keep in mind a couple of points:
-- Stephen D. Smalley, NAI Labs ssmalley@nai.com -- You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.Received on Mon 7 Jan 2002 - 09:32:32 EST
This archive was generated by hypermail 2.2.0 on Wed 11 Jun 2008 - 08:10:26 EDT