man-pages/man5/sepermit.conf.5.html
2021-03-31 01:06:50 +01:00

152 lines
2.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of SEPERMIT.CONF</TITLE>
</HEAD><BODY>
<H1>SEPERMIT.CONF</H1>
Section: Linux-PAM Manual (5)<BR>Updated: 05/18/2017<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
sepermit.conf - configuration file for the pam_sepermit module
<A NAME="lbAC">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
The lines of the configuration file have the following syntax:
<P>
<I>&lt;user&gt;</I>[:<I>&lt;option&gt;</I>:<I>&lt;option&gt;</I>...]
<P>
The
<B>user</B>
can be specified in the following manner:
<P>
<DL COMPACT><DT id="1"><DD>
&bull;
a username
</DL>
<P>
<DL COMPACT><DT id="2"><DD>
&bull;
a groupname, with
<B>@group</B>
syntax. This should not be confused with netgroups.
</DL>
<P>
<DL COMPACT><DT id="3"><DD>
&bull;
a SELinux user name with
<B>%seuser</B>
syntax.
</DL>
<P>
The recognized options are:
<P>
<B>exclusive</B>
<DL COMPACT><DT id="4"><DD>
Only single login session will be allowed for the user and the user's processes will be killed on logout.
</DL>
<P>
<B>ignore</B>
<DL COMPACT><DT id="5"><DD>
The module will never return PAM_SUCCESS status for the user. It will return PAM_IGNORE if SELinux is in the enforcing mode, and PAM_AUTH_ERR otherwise. It is useful if you want to support passwordless guest users and other confined users with passwords simultaneously.
</DL>
<P>
The lines which start with # character are comments and are ignored.
<A NAME="lbAD">&nbsp;</A>
<H2>EXAMPLES</H2>
<P>
These are some example lines which might be specified in
/etc/security/sepermit.conf.
<P>
<DL COMPACT><DT id="6"><DD>
<PRE>
%guest_u:exclusive
%staff_u:ignore
%user_u:ignore
</PRE>
</DL>
<A NAME="lbAE">&nbsp;</A>
<H2>SEE ALSO</H2>
<P>
<B><A HREF="/cgi-bin/man/man2html?8+pam_sepermit">pam_sepermit</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?5+pam.d">pam.d</A></B>(5),
<B><A HREF="/cgi-bin/man/man2html?7+pam">pam</A></B>(7),
<B><A HREF="/cgi-bin/man/man2html?8+selinux">selinux</A></B>(8),
<A NAME="lbAF">&nbsp;</A>
<H2>AUTHOR</H2>
<P>
pam_sepermit and this manual page were written by Tomas Mraz &lt;<A HREF="mailto:tmraz@redhat.com">tmraz@redhat.com</A>&gt;
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="7"><A HREF="#lbAB">NAME</A><DD>
<DT id="8"><A HREF="#lbAC">DESCRIPTION</A><DD>
<DT id="9"><A HREF="#lbAD">EXAMPLES</A><DD>
<DT id="10"><A HREF="#lbAE">SEE ALSO</A><DD>
<DT id="11"><A HREF="#lbAF">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:05 GMT, March 31, 2021
</BODY>
</HTML>