User Level Security Policies
Hello All,
Hope that you are all doing well today.
I am new to this list and have looked briefly over the archives regarding suppoer for Redhat 7.2 and see that SELinux does not yet support it.
I have two question that I hope someone could please answer for me, ok.
First the easy one.
1.) Is there some estimation as to when RH 7.2 might be supported?
Now the harder one.
2.) We have been looking at various security methods such as "restricted shells", "chroot", etc... to find a method of locking a user into their HOME directory. While this may sound a little restrictive, the current special project that we are working on required that we allow the user to login via kdm after which a simple window manager (fvwm95) would be started and then the user could select an application to run.
The catch is that the user would really never have a shell available to them and only be able to run one of the applications that we have pre-configured for them.
Also, we would like to prevent the user from navigating out of their HOME directory at all times.
My question is "Can SELinux implement these types of security policies for our needs?"
Best Regards,
Lonnie Cumberland
--
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 · On Sun, 9 Dec 2001 [email protected] wrote:
First the easy one.
1.) Is there some estimation as to when RH 7.2 might be supported?
We have the current snapshot of SELinux (which should be available soon as a new public release) running on both RH7.1 and RH7.2. The example policy configuration still needs more testing and refinement for RH7.2, but it is a reasonable starting point. Some of the utility packages haven't been updated to RH7.2 yet (findutils, psmisc, stat, tar), but the old versions of these packages still seem to build and work fine on RH7.2. Also, a SELinux user just posted updated patches for several of these remaining utility packages, but we haven't reviewed them yet for correctness.
Quoted 7 lines
Now the harder one.
2.) We have been looking at various security methods such as "restricted shells", "chroot", etc... to find a method of locking a user into their HOME directory. While this may sound a little restrictive, the current special project that we are working on required that we allow the user to login via kdm after which a simple window manager (fvwm95) would be started and then the user could select an application to run.
If you need to use kdm, you'll need a modified kdm that sets the security context for the user session. Mark Westerman, a user of SELinux, has a modified gdm that performs the necessary processing, so you should refer to his patch for reference. This isn't in the base SELinux release.
Quoted 3 lines
The catch is that the user would really never have a shell available to them and only be able to run one of the applications that we have pre-configured for them.
SELinux can certainly control what the user can execute. But you may find that the system isn't useable if you don't grant the user's domain execute access to a shell, since the programs that are legitimately run by the user may assume that they can invoke shell commands. Of course, you could transition those programs into domains with the necessary execute permission, but it isn't clear that this adds anything to the security of the system.
Quoted 2 lines
Also, we would like to prevent the user from navigating out of their HOME directory at all times.
Similar to the above, SELinux can control what directories the user can search. But many applications will expect to be able to search directories other than the user's home directory. As above, you can transition those applications into their own domains with the necessary permissions, but you need to consider whether you are really providing any improvement in security by not just directly granting the permission to the user's domain.
--
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.