un-noticed security
Hello All,
I have my SELinux test server up and running and have made a standard test user account.
My problem is that I have not really noticed any new security that is running on the system. It appears that the test user account can do exactly what they were able to do before I installed SELinux.
Is there some way to see some denials in action from this test account?
I was guessing that with SELinux that I would be able to stop the test user from running some vsrious applications perhaps. How can this be demonstrated?
Cheers,
Lonnie
Signature · 15 lines
Lonnie Cumberland OutStep Technologies Incorporated (313) 832-7366 URL: http://www.outstep.com EMAIL: [email protected] : [email protected] -- You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 2 lines · Lonnie Cumberland
I have my SELinux test server up and running and have made a standard test user account.
I assume that you've read the entire README and followed its instructions, including steps 17-19, and that you are running your kernel in enforcing mode. If not, then read the README.
Quoted 3 lines
My problem is that I have not really noticed any new security that is running on the system. It appears that the test user account can do exactly what they were able to do before I installed SELinux.
You didn't mention what role/domain you are using for your test user account. Are you using user_r:user_t from the example policy? Or something of your own creation?
The example policy is focused on protecting the integrity of the base system, confining and protecting system processes, and protecting administrator processes. See the Ottawa paper and/or the policy report. Hence, it isn't trying to prevent an ordinary user from doing ordinary work.
Quoted 2 lines
Is there some way to see some denials in action from this test account?
You could su to root (from your user_t domain or whatever your test user domain is) and then try something that would violate the example policy, e.g. writing to a file in /etc.
Quoted 3 lines
I was guessing that with SELinux that I would be able to stop the test user from running some vsrious applications perhaps. How can this be demonstrated?
By changing the example policy to restrict execute access for the user_t domain (or whatever your test user domain is).
--
Stephen D. Smalley, NAI Labs
[email protected]
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
test selinux account
hi,
if you wish please test selinux,2.4.14-lsm on slackware-curent, PC, enforcing, test is in user_r:user_t, as some of the other user accounts, many restrictions are not present, test is normal shell account.
hostname: karai.net
login: test
password: test
sorry if connection is sometimes slow ;).
best regards,
Hacko
Quoted 32 lines
You didn't mention what role/domain you are using for your test user account. Are you using user_r:user_t from the example policy? Or something of your own creation?
The example policy is focused on protecting the integrity of the base system, confining and protecting system processes, and protecting administrator processes. See the Ottawa paper and/or the policy report. Hence, it isn't trying to prevent an ordinary user from doing ordinary work.
Quoted 2 lines
Is there some way to see some denials in action from this test account?
You could su to root (from your
user_tdomain or whatever your test user domain is) and then try something that would violate the example policy, e.g. writing to a file in /etc.Quoted 3 lines
I was guessing that with SELinux that I would be able to stop the test user from running some vsrious applications perhaps. How can this be demonstrated?
By changing the example policy to restrict execute access for the
user_tdomain (or whatever your test user domain is).--
Stephen D. Smalley, NAI Labs
[email protected]
Quoted 5 lines
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Re: test selinux account
Quoted 3 lines · Hacko
if you wish please test selinux,2.4.14-lsm on slackware-curent, PC, enforcing, test is in user_r:user_t, as some of the other user accounts, many restrictions are not present, test is normal shell account.
You might want to consider upgrading to a newer version of SELinux, since there have been various bug fixes since the 2.4.14-based kernel. When you say "many restrictions are not present", what exactly do you mean? Did you significantly alter the example policy configuration? You probably had to make a number of changes just to adapt to Slackware.
--
Stephen D. Smalley, NAI Labs
[email protected]
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.