]> granicus.if.org Git - linux-pam/blob - modules/pam_selinux/pam_selinux_check.8
d6fcdff12eca9a3a4455cd357e8552db25b874bd
[linux-pam] / modules / pam_selinux / pam_selinux_check.8
1 .TH pam_selinux_check 8 2002/05/23 "Red Hat Linux" "System Administrator's Manual"
2 .SH NAME
3 pam_selinux_check \- login program to test pam_selinux.so
4 .SH SYNOPSIS
5 .B pam_selinux_check [user]
6 .br
7
8 .SH DESCRIPTION
9 With no arguments,
10 .B pam_selinux_check
11 will prompt for user
12
13 .SH OPTIONS
14 .IP target_user
15 The user to login as.
16
17 .SH DIAGNOSTICS
18 You must setup a /etc/pam.d/pam_selinux_check file, in order for the check to work.
19
20 When checking if a selinux is valid,
21 .B pam_selinux_check
22 returns an exit code of 0 for success and > 0 on error:
23
24 .nf
25 1: Authentication failure
26 .fi
27
28 .SH SEE ALSO
29 pam_selinux(8)
30
31 .SH BUGS
32 Let's hope not, but if you find any, please email the author.  
33
34 .SH AUTHOR
35 Dan Walsh <dwalsh@redhat.com>