pam_selinux_check(8) — Linux manual page


pam_selinux_check(8)  System Administrator's Manual pam_selinux_check(8)

NAME         top

       pam_selinux_check - login program to test

SYNOPSIS         top

       pam_selinux_check [user]

DESCRIPTION         top

       With no arguments, pam_selinux_check will prompt for user

OPTIONS         top

              The user to login as.

DIAGNOSTICS         top

       You must setup a /etc/pam.d/pam_selinux_check file, in order for
       the check to work.

       When checking if a selinux is valid, pam_selinux_check returns an
       exit code of 0 for success and > 0 on error:

       1: Authentication failure

SEE ALSO         top


BUGS         top

       Let's hope not, but if you find any, please email the author.

AUTHOR         top

       Dan Walsh <>

COLOPHON         top

       This page is part of the linux-pam (Pluggable Authentication
       Modules for Linux) project.  Information about the project can be
       found at ⟨⟩.  If you have a bug report
       for this manual page, see ⟨//⟩.  This page was
       obtained from the project's upstream Git repository
       ⟨⟩ on 2023-12-22.  (At
       that time, the date of the most recent commit that was found in
       the repository was 2023-12-18.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to

Red Hat Linux                  2002/05/23           pam_selinux_check(8)