Skip to contentSkip to conversation

I thought we decided that root was root

DISCUSSION Nick Gray 2 participants 2 messages Apr 29, 2004 – Apr 30, 2004 SELinux security module

lore
Share & tools
lore

Nick Gray

author
#0 lore raw

I thought the consensus was that the root account should have the default of sysadm_r. I just created a C2T2 system and I came up with staff again?

Nix

--
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 3 lines · Nick Gray

I thought the consensus was that the root account should have the default of sysadm_r. I just created a C2T2 system and I came up with staff again?

Do you mean FC2 test3? I think that the system defaults (/etc/security/default_contexts) are set to prefer staff_r or user_r over sysadm_r, and the root-specific defaults (/root/.default_contexts) are set to prefer sysadm_r for console logins, but not for xdm logins or ssh logins. Naturally, you can customize that if you want to do so, but the ability to login directly via xdm or ssh to sysadm_r is a tunable (enabled by default in the Fedora policy, disabled in ours), so note that people running with a tighter policy will still fall back to staff_r as the default.

Signature · 8 lines
Stephen Smalley <[email protected]>
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.