How do I list SELinux users?



  • # /usr/sbin/semanage user -l
    
                    Labeling   MLS/       MLS/
    SELinux User    Prefix     MCS Level  MCS Range                      SELinux Roles
    
    root            user       s0         SystemLow-SystemHigh           system_r sysadm_r user_r
    system_u        user       s0         SystemLow-SystemHigh           system_r
    user_u          user       s0         SystemLow-SystemHigh           system_r sysadm_r user_r
    

    In the above example, system_u corresponds to system processes, root is the system administrator and user_u represents all login users.


Log in to reply
 

© Lightnetics 2024