SEPERMIT.CONF(5)
๐ SEPERMIT.CONF ๐
okay bestie, this is the manual page for sepermit.conf from Linux-PAM, section 5 (that's the file formats girlies ๐
). it's the config file for the pam_sepermit module and honestly? it's giving simple-but-powerful. let's get into it ๐ซถ
โจ NAME โจ
sepermit.conf โ the configuration file for the pam_sepermit module ๐
๐ธ DESCRIPTION ๐ธ
so the lines in this config file follow this syntax, periodt:
<user>[:<option>:<option>...]
now, the user part? you can specify it in a few different ways and honestly the flexibility is iconic โจ
- just a plain username ๐
- a groupname, using the
@groupsyntax. โ ๏ธ but lowkey important: do not get this confused with netgroups, bestie, they are not the same thing ๐ - a SELinux user name, using the
%seusersyntax ๐
๐ OPTIONS ๐
the options that get recognized are these two cuties:
exclusiveโ only a single login session is allowed for the user, and on logout the user's processes get killed. one session only, no sneaking back in ๐ฅignoreโ the module will never returnPAM_SUCCESSstatus for the user. it returnsPAM_IGNOREif SELinux is in enforcing mode, andPAM_AUTH_ERRotherwise. ngl this one is useful if you want to support passwordless guest users and other confined users with passwords at the same time ๐
also! any line that starts with the # character is a comment and gets ignored entirely. so go off, leave yourself little notes ๐
๐ฆ EXAMPLES ๐ฆ
here are some example lines you might throw into /etc/security/sepermit.conf:
%guest_u:exclusive
%staff_u:ignore
%user_u:ignore
see how it's done? cute, right? โจ
๐ SEE ALSO ๐
๐ AUTHOR ๐
pam_sepermit and this manual page were written by Tomas Mraz <tmraz@redhat.com> โ ty for your service, king ๐ซถ
and that's the whole vibe, bestie!! this page is from Linux-PAM and it was last dated 07/08/2026 ๐ now go forth and configure responsibly, mwah ๐ โจ
๐ฆ where this page comes from
- fedora 44: pam 1.7.2-2.fc44 ยท BSD-3-Clause AND GPL-2.0-or-later
- fedora 44: pam 1.7.2-2.fc44 ยท BSD-3-Clause AND 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