summaryrefslogtreecommitdiffstats
path: root/modules/pam_selinux/pam_selinux_check.8
blob: 34f578d77c85fb231f9ab4c94a9c0d2cc3aad5aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.TH pam_selinux_check 8 2002/05/23 "Red Hat Linux" "System Administrator's Manual"
.SH NAME
pam_selinux_check \- login program to test pam_selinux.so
.SH SYNOPSIS
.B pam_selinux_check [user]
.br

.SH DESCRIPTION
With no arguments,
.B pam_selinux_check
will prompt for user

.SH OPTIONS
.IP target_user
The user to login as.

.SH DIAGNOSTICS
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,
.B pam_selinux_check
returns an exit code of 0 for success and > 0 on error:

.nf
1: Authentication failure
.fi

.SH SEE ALSO
pam_selinux(8)

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

.SH AUTHOR
Dan Walsh <dwalsh@redhat.com>