mcs(8)
πΈ mcs β the manual page, but make it a group chat πΈ
okay bestie, welcome to the mcs(8) page π
it lives in the mcs documentation section, and honestly? it's giving main character energy in the SELinux cinematic universe β¨
β¨ NAME β¨
mcs β Multi-Category System π
π¦ DESCRIPTION π¦
so, MCS = Multiple Category System, and here's the tea π: it lets users put labels on files on their system, inside categories that the administrator defines. then it uses SELinux Mandatory Access Control to protect those files. slay π
MCS is a discretionary model β meaning users get to mark their own data with additional tags that further restrict access. that's the vibe π
the only mandatory aspect is authorizing users for categories by defining their clearance in policy. that's the one thing you can't skip, no cap.
but here's the thing β MCS is similar to MLS and exercises the same code paths and share the same support infrastructure π§ they literally just differ in their specific configuration. same engine, different fit, iykyk π
the /etc/selinux/{SELINUXTYPE}/setrans.conf configuration file translates the labels on disk to human readable form β¨ administrators can define any labels they want in this file. certain applications like printing and auditing will use these labels to identify the files. and listen β by setting a category on a file you will prevent other applications/services from having access to the files π«π (dramatic but true, that's the whole point)
examples of file labels would be PatientRecord, CompanyConfidential etc. π iconic, honestly.
π SEE ALSO π
π FILES π
/etc/selinux/{SELINUXTYPE}/setrans.conf
ok that's the whole page, go forth and label responsibly bestie π«Ά
and a lil sign-off moment: this page was written by dwalsh@redhat.com and dated 8 Sep 2005 β yes, ancient, but the knowledge is eternal β mwah π
π¦ where this page comes from
- centos-stream 10: mcstrans 3.11-1.el10 Β· GPL-2.0-or-later
- centos-stream 9: mcstrans 3.6-3.el9 Β· GPL+
- debian bookworm: mcstrans 3.4-1+b2 Β· GPL-2.0-or-later
- debian trixie: mcstrans 3.8.1-1 Β· GPL-2.0-or-later
- fedora 43: mcstrans 3.9-2.fc43 Β· GPL-2.0-or-later
- fedora 44: mcstrans 3.10-1.fc44 Β· GPL-2.0-or-later
- fedora 44: mcstrans 3.11-1.fc44 Β· GPL-2.0-or-later
- opensuse-leap 16.0: mcstrans 3.8.1-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: mcstrans 3.8.1-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: mcstrans 3.8.1-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: mcstrans 3.8.1-160000.2.2 Β· GPL-2.0-or-later
- ubuntu jammy: mcstrans 3.3-1 Β· GPL-2.0-or-later
- ubuntu noble: mcstrans 3.5-1 Β· GPL-2.0-or-later
- ubuntu questing: mcstrans 3.8.1-1
- ubuntu resolute: mcstrans 3.9-1 Β· GPL-2.0-or-later
- ubuntu stonking: mcstrans 3.11-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms