Skip to contentSkip to conversation

purpose of the staff_r role?

DISCUSSION Kodungallur Varma 1 participant 1 message Sep 30, 2004 SELinux security module

lore
Share & tools
lore
#0 lore raw

Hi all,

I am pretty new to selinux. I was setting up a selinux machine. I installed the OS and I installed the latest packages policy packages with the 'yum' command. I later rebooted with the enforcing=0 option during the boot. I later 'make relabel' ed it. I rebooted the machine again with the enforcing=0 mode and checked the /var/log/messages for avc:access denied messages. there are too many of them and I just dont know how to fix them. any help on this would be excellent.

thanx in advance..

----- Original Message -----
From: Russell Coker <[email protected]>
Date: Thursday, September 30, 2004 3:43 pm
Subject: Re: purpose of the staff_r role?

Quoted 11 lines · Tom Anderson
Quoted 1 line
Quoted 1 line

It's the role that a person who can become sysadm_r should do

their> > daily work in like reading mail, working on source code, etc. The

Quoted 1 line
Quoted 1 line

reason is because it basically isn't allowed to interact with

user_t> > at all; for example, staff_t can't read user_tmp_t. This prevents

Quoted 4 lines
Quoted 1 line

/tmp races from working.

Ah, that makes sense. But I'd like my staff_t user able to read logfiles, without needing to become sysadm_r first ('cuz I can

Quoted 21 lines

do some

Quoted 1 line

real damage inadvertently). Is there a "correct" way to do

this? I've

Quoted 1 line

tried granting read access to var_log_t, but several daemons

have their

Quoted 1 line

own logfile types.

r_dir_file(staff_t, logfile)

Signature · 10 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux 
packageshttp://www.coker.com.au/bonnie++/  Bonnie++ hard drive 
benchmarkhttp://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.

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