Find the answer to your Linux question:
Results 1 to 1 of 1
Somehow I can't figure this out. It should be relatively easy when I read generic documentation on SELinux, or documentation on Fedora or Red Hat/CentOS v4.x But for CentOS 5.5 ...
  1. #1
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,047

    [SOLVED] Creating custom SELinux roles and permissions on CentOS 5.5

    Somehow I can't figure this out. It should be relatively easy when I read generic documentation on SELinux, or documentation on Fedora or Red Hat/CentOS v4.x
    But for CentOS 5.5 things appear to work differently.


    What I want is to create users with very restricted access to the system. Let's say they may only run bin_t commands.

    So I thought I'd create a new SELinux user to map to these restricted users. Lets call it untrusted_u
    Then give these untrusted_u a role on the system: untrusted_r

    So you'd get something like this:
    Code:
    user untrusted_u roles { untrusted_r }
    role untrusted_r types { bin_t }
    But how? And where?

    I'd be very grateful for anything that gets me in the right direction... something like this is excellent, but I have no idea how to translate it to CentOS 5.5 specific settings and configuration
    Last edited by Freston; 12-28-2010 at 12:02 PM.
    Can't tell an OS by it's GUI

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...