tomoyo-setprofile - profile assignment utility for TOMOYO Linux
tomoyo-setprofile [option] number <domain> [<domain> ...]
This program assigns the specified profile number to the specified domain.
Before this program can be invoked, you must register it in /sys/kernel/security/tomoyo/manager. After initializing policy, this is usually as simple as rebooting the system.
Apply the specified profile number to all domains whose domain name starts with the specified string.
The profile number must be an integer between 0 and 255.
The string must be quoted or escaped to avoid misinterpretation by the shell. It only matches an exact string unless the -r
option is specified.
tomoyo-setprofile -r 0 '<kernel>'
tomoyo-setprofile 1 '<kernel> /usr/sbin/sshd' '<kernel> /usr/sbin/httpd'
If you find any bugs, send an email to <tomoyo-users-en@lists.osdn.me>.
Main author.
Documentation and website.
tomoyo-pstree(8)
See <https://tomoyo.sourceforge.net> for more information.