Skip to contentSkip to conversation

Domain transition

DISCUSSION Richard Mayo 2 participants 2 messages Dec 16, 2002 SELinux security module

lore
Share & tools
lore
#0 lore raw

I have a few questions, and I hope you good folks can help me out:

1) What is "domain transition"? I've configured my system such that it
doesn't happen, but I'm wondering if it's the best way to go.
2) Is there a text file on my system with the list of user roles or is
that information stored some other way?
3) Can I configure the operating system NOT to ask for a user role on
login? I would much prefer to have user role determined BY the login.

I'm sure I'll have others, but I can't think of anything at this time.

R.

--
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.

#1 lore raw
Quoted 2 lines · Richard Mayo

1) What is "domain transition"? I've configured my system such that it
doesn't happen, but I'm wondering if it's the best way to go.

It's not. Domain transitions are necessary. It's something like the SELinux equivalent of setuid. For example, when init starts apache, you definitely do want the initrc domain to change into the apache domain.

Quoted 2 lines

2) Is there a text file on my system with the list of user roles or is
that information stored some other way?

look into /etc/security. it has changed around a little recently, but there should be something like default_* in there with the information you are looking for.

Quoted 2 lines

3) Can I configure the operating system NOT to ask for a user role on
login? I would much prefer to have user role determined BY the login.

I'm sure it's possibly to skip the check, e.g. if the user is only allowed to be in a single domain anyway. But I believe you would need to patch the login code for this.

Signature · 8 lines
http://web.lemuria.org/pubkey.html
pub  1024D/2D7A04F5 2002-05-16 Tom Vogt <[email protected]>
     Key fingerprint = C731 64D1 4BCF 4C20 48A4  29B2 BF01 9FA1 2D7A 04F5

--
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.