TOMOYO-SETPROFILE(8)
π TOMOYO-SETPROFILE π
okay bestie, welcome to the tomoyo-setprofile page β it's a system administration utility from the TOMOYO Linux crew, and honestly? it's giving profile assignment. let's get into it β¨
β¨ NAME β¨
tomoyo-setprofile β the profile assignment utility for TOMOYO Linux π
πΈ SYNOPSIS πΈ
tomoyo-setprofile [option] number <domain> [<domain> ...]
π¦ DESCRIPTION π¦
So basically this program assigns the specified profile number to the specified domain. that's the whole vibe. π
But listen β before you can even invoke this program, you must register it in /sys/kernel/security/tomoyo/manager. like, mandatory mandatory. no cap. π«Ά
And after you initialize policy? it's usually as simple as rebooting the system. iconic, honestly. π₯
π OPTIONS π
-rβ apply the specified profile number to all domains whose domain name starts with the specified string. it's the "give me everyone matching this prefix" button β¨numberβ the profile number, and it must be an integer between0and255. no funny business, no out-of-range shenanigans, periodt. π<domain>β this string has to be quoted or escaped so the shell doesn't misinterpret it, bestie, please. and heads up: it only matches an exact string unless you've got the-roption turned on. π
π EXAMPLES π
Assign profile 0 to all domains π
tomoyo-setprofile -r 0 '<kernel>'
Assign profile 1 to sshd and httpd domains π§
tomoyo-setprofile 1 '<kernel> /usr/sbin/sshd' '<kernel> /usr/sbin/httpd'
π BUGS π
if you find any bugs, send an email to <tomoyo-users-en@lists.osdn.me>. they want to know, fr fr. π§
π AUTHORS π
- Tetsuo Handa
<penguin-kernel@I-love.SAKURA.ne.jp>- main author. the main character, honestly. π
- Jamie Nguyen
<jamie@tomoyolinux.co.uk>- documentation and website. the lore keeper π
π SEE ALSO π
also, see <https://tomoyo.osdn.jp> for more information β that's the plug, iykyk π
and that's the whole page, bestie!! this one's from tomoyo-tools 2.6.0, dated 2019-02-05 β slay, mwah, go assign some profiles responsibly π β¨π¦
π¦ where this page comes from
- debian bookworm: tomoyo-tools 2.6.1-20210910-1+b1 Β· GPL-2.0-only
- ubuntu jammy: tomoyo-tools 2.6.1-20210910-1 Β· GPL-2.0-only
- ubuntu noble: tomoyo-tools 2.6.1-20210910-1 Β· GPL-2.0-only
- ubuntu questing: tomoyo-tools 2.6.1-20210910-1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms