man-pages/man8/pam_shells.8.html
2021-03-31 01:06:50 +01:00

150 lines
2.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of PAM_SHELLS</TITLE>
</HEAD><BODY>
<H1>PAM_SHELLS</H1>
Section: Linux-PAM Manual (8)<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>
pam_shells - PAM module to check for valid login shell
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<DL COMPACT>
<DT id="1">
<B>pam_shells.so</B>
</DL>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
<DD>pam_shells is a PAM module that only allows access to the system if the user's shell is listed in
/etc/shells.
<P>
It also checks if
/etc/shells
is a plain file and not world writable.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<P>
This module does not recognise any options.
<A NAME="lbAF">&nbsp;</A>
<H2>MODULE TYPES PROVIDED</H2>
<P>
The
<B>auth</B>
and
<B>account</B>
module types are provided.
<A NAME="lbAG">&nbsp;</A>
<H2>RETURN VALUES</H2>
<P>
PAM_AUTH_ERR
<DL COMPACT><DT id="2"><DD>
Access to the system was denied.
</DL>
<P>
PAM_SUCCESS
<DL COMPACT><DT id="3"><DD>
The user's login shell was listed as valid shell in
/etc/shells.
</DL>
<P>
PAM_SERVICE_ERR
<DL COMPACT><DT id="4"><DD>
The module was not able to get the name of the user.
</DL>
<A NAME="lbAH">&nbsp;</A>
<H2>EXAMPLES</H2>
<P>
<DL COMPACT><DT id="5"><DD>
<PRE>
auth required pam_shells.so
</PRE>
</DL>
<P>
<A NAME="lbAI">&nbsp;</A>
<H2>SEE ALSO</H2>
<P>
<B><A HREF="/cgi-bin/man/man2html?5+shells">shells</A></B>(5),
<B><A HREF="/cgi-bin/man/man2html?5+pam.conf">pam.conf</A></B>(5),
<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)
<A NAME="lbAJ">&nbsp;</A>
<H2>AUTHOR</H2>
<P>
pam_shells was written by Erik Troan &lt;<A HREF="mailto:ewt@redhat.com">ewt@redhat.com</A>&gt;.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="6"><A HREF="#lbAB">NAME</A><DD>
<DT id="7"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="8"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="9"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="10"><A HREF="#lbAF">MODULE TYPES PROVIDED</A><DD>
<DT id="11"><A HREF="#lbAG">RETURN VALUES</A><DD>
<DT id="12"><A HREF="#lbAH">EXAMPLES</A><DD>
<DT id="13"><A HREF="#lbAI">SEE ALSO</A><DD>
<DT id="14"><A HREF="#lbAJ">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:14 GMT, March 31, 2021
</BODY>
</HTML>