How do I make sudo "trusted"?

Aleksey Nogin aleksey at nogin.org
Thu Mar 18 18:43:14 UTC 2004


On 18.03.2004 08:17, Stephen Smalley wrote:

>>What is the difference between the sysadm_r and system_r? When should I 
>>be using
>>
>>sudo -r sysadm_r
>>
>>and when
>>
>>sudo -r system_r -t sysadm_t
> 
> 
> You shouldn't need to do the latter ever.

So what is the difference between the sysadm_r and system_r? How does it 
relate to the

# sample for administrative user
ifdef(`direct_sysadm_daemon', `
#user jadmin roles { staff_r sysadm_r system_r };
', `
#user jadmin roles { staff_r sysadm_r };
')

in the /etc/security/selinux/src/policy/users? Thanks!

-- 
Aleksey Nogin

Home Page: http://nogin.org/
E-Mail: nogin at cs.caltech.edu (office), aleksey at nogin.org (personal)
Office: Jorgensen 70, tel: (626) 395-2907



More information about the fedora-selinux-list mailing list