nx_server_selinux
Section: nx_server SELinux Policy documentation (8)Updated: nx_server
Index Return to Main Contents
NAME
nx_server_r - nx_server user role - Security Enhanced Linux PolicyDESCRIPTION
SELinux supports Roles Based Access Control, some Linux roles are login roles, while other roles need to be transition to.
Note: The examples in the man page will user the staff_u user.
Non login roles are usually used for administrative tasks.
Roles usually have default types assigned to them.
The default type for the nx_server_r role is nx_server_t.
You can use the newrole program to transition directly to this role.
newrole -r nx_server_r -t nx_server_t
sudo can also be setup to transition to this role using the visudo command.
USERNAME ALL=(ALL) ROLE=nx_server_r TYPE=nx_server_t COMMAND
sudo will run COMMAND as staff_u:nx_server_r:nx_server_t:LEVEL
If you want to use a non login role, you need to make sure the SELinux user you are using can reach this role.
You can see all of the assigned SELinux roles using the following
semanage user -l
If you wanted to add nx_server_r to the staff_u user, you would execute:
$ semanage user -m -R 'staff_r nx_server_r' staff_u
COMMANDS
semanage login can also be used to manipulate the Linux User to SELinux User mappings
semanage user can also be used to manipulate SELinux user definitions.
system-config-selinux is a GUI tool available to customize SELinux policy settings.
AUTHOR
This manual page was autogenerated by genuserman.py.SEE ALSO
selinux(8), semanage(8).
Index
This document was created by man2html, using the manual pages.
Time: 05:34:28 GMT, December 24, 2015