TOMOYO-SETLEVEL(8)
π TOMOYO-SETLEVEL π
ok so bestie, welcome to tomoyo-setlevel β the profile management utility for TOMOYO Linux β¨ this is section 8 of the System Administration Utilities, so grab a snack and let's get into it π
β¨ NAME β¨
tomoyo-setlevel β profile management utility for TOMOYO Linux π
πΈ SYNOPSIS πΈ
tomoyo-setlevel name=value
that's it. one line. we love a minimal queen π
π¦ DESCRIPTION π¦
okay so here's the vibe: this program can be used to edit the profiles that are currently defined in /sys/kernel/security/tomoyo/profile. literally that's its whole job. so iconic of it π«Ά
heads up bestie!! the output must be quoted or escaped, otherwise the shell will misinterpret it and ruin everything π do not let the shell do you like that.
and before you can even invoke this program, you have to register it in /sys/kernel/security/tomoyo/manager. no registration, no entry, it's giving velvet rope π«β¨ after initializing policy, this is usually as simple as rebooting the system. yes, really. the classic turn-it-off-and-on-again ate, ngl π₯
π EXAMPLES π
Change mode for profile number 3 to enforcing mode
tomoyo-setlevel "3-CONFIG={ mode=enforcing }"
look at those quotes doing the lord's work π keep them. the quotes are the main character here π
π BUGS π
if you find any bugs, send an email to <tomoyo-users-en@lists.osdn.me> π§ fr fr, they wanna know. don't suffer in silence bestie, the group chat is open π
π AUTHORS π
- Tetsuo Handa
<penguin-kernel@I-love.SAKURA.ne.jp>- Main author. π§ the blueprint, the moment, the legend.
- Jamie Nguyen
<jamie@tomoyolinux.co.uk>- Documentation and website. πΈ keeping the lore documented so we all stay informed, thank you for your service π«‘
π SEE ALSO π
tomoyo-loadpolicy(8)β go read it next, bestie, it's the sister page π
and if you want more more more, see <https://tomoyo.osdn.jp> for more information β iykyk.
ok that's the whole page, mwah π this was tomoyo-tools 2.6.0, dated 2019-02-05 β yes she's an older icon but she still slays, periodt π β¨π¦π
π¦ 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