SELinux by Example: Using Security Enhanced Linux

1.

Declare an SELinux user with the name tom associated with the roles staff_r and sysadm_r.

2.

Associate the role sysadm_r with the type sysadm_mozilla_t.

3.

Write a role transition statement that causes a change to the role system_r when a process with the role sysadm_r executes a file with the type initrc_exec_t.

Категории