logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

tomoyo-setprofile - profile assignment utility for TOMOYO Linux

Authors

       Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
           Main author.

       Jamie Nguyen <jamie@tomoyolinux.co.uk>
           Documentation and website.

Bugs

       If you find any bugs, send an email to <tomoyo-users-en@lists.osdn.me>.

Description

       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.

Examples

Assignprofile0toalldomains
             tomoyo-setprofile -r 0 '<kernel>'

       Assignprofile1tosshdandhttpddomains
             tomoyo-setprofile 1 '<kernel> /usr/sbin/sshd' '<kernel> /usr/sbin/httpd'

Name

       tomoyo-setprofile - profile assignment utility for TOMOYO Linux

Options

-r  Apply the specified profile number to all domains whose domain name starts with the specified string.

       number
           The profile number must be an integer between 0 and 255.

       <domain>
           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.

See Also

tomoyo-pstree(8)

       See <https://tomoyo.osdn.jp> for more information.

tomoyo-tools 2.6.0                                 2019-02-05                               TOMOYO-SETPROFILE(8)

Synopsis

tomoyo-setprofile [option] number<domain> [<domain>...]

See Also