xref: /freebsd/lib/libpam/modules/pam_self/pam_self.8 (revision b6b756b58b4787f31b67f70956d94b3441623e3f)
1e2c8459eSDag-Erling Smørgrav.\" Copyright (c) 2001 Mark R V Murray
2e2c8459eSDag-Erling Smørgrav.\" All rights reserved.
3e2c8459eSDag-Erling Smørgrav.\" Copyright (c) 2001 Networks Associates Technologies, Inc.
4e2c8459eSDag-Erling Smørgrav.\" All rights reserved.
5e2c8459eSDag-Erling Smørgrav.\"
6e2c8459eSDag-Erling Smørgrav.\" Portions of this software were developed for the FreeBSD Project by
7e2c8459eSDag-Erling Smørgrav.\" ThinkSec AS and NAI Labs, the Security Research Division of Network
8e2c8459eSDag-Erling Smørgrav.\" Associates, Inc.  under DARPA/SPAWAR contract N66001-01-C-8035
9e2c8459eSDag-Erling Smørgrav.\" ("CBOSS"), as part of the DARPA CHATS research program.
10e2c8459eSDag-Erling Smørgrav.\"
11e2c8459eSDag-Erling Smørgrav.\"
12e2c8459eSDag-Erling Smørgrav.\" Redistribution and use in source and binary forms, with or without
13e2c8459eSDag-Erling Smørgrav.\" modification, are permitted provided that the following conditions
14e2c8459eSDag-Erling Smørgrav.\" are met:
15e2c8459eSDag-Erling Smørgrav.\" 1. Redistributions of source code must retain the above copyright
16e2c8459eSDag-Erling Smørgrav.\"    notice, this list of conditions and the following disclaimer.
17e2c8459eSDag-Erling Smørgrav.\" 2. Redistributions in binary form must reproduce the above copyright
18e2c8459eSDag-Erling Smørgrav.\"    notice, this list of conditions and the following disclaimer in the
19e2c8459eSDag-Erling Smørgrav.\"    documentation and/or other materials provided with the distribution.
20e2c8459eSDag-Erling Smørgrav.\" 3. The name of the author may not be used to endorse or promote
21e2c8459eSDag-Erling Smørgrav.\"    products derived from this software without specific prior written
22e2c8459eSDag-Erling Smørgrav.\"    permission.
23e2c8459eSDag-Erling Smørgrav.\"
24e2c8459eSDag-Erling Smørgrav.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
25e2c8459eSDag-Erling Smørgrav.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26e2c8459eSDag-Erling Smørgrav.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
27e2c8459eSDag-Erling Smørgrav.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
28e2c8459eSDag-Erling Smørgrav.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29e2c8459eSDag-Erling Smørgrav.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30e2c8459eSDag-Erling Smørgrav.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31e2c8459eSDag-Erling Smørgrav.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32e2c8459eSDag-Erling Smørgrav.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33e2c8459eSDag-Erling Smørgrav.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34e2c8459eSDag-Erling Smørgrav.\" SUCH DAMAGE.
35e2c8459eSDag-Erling Smørgrav.\"
36e2c8459eSDag-Erling Smørgrav.\" $FreeBSD$
37e2c8459eSDag-Erling Smørgrav.\"
387f432ff8SRuslan Ermilov.Dd December 5, 2001
39e2c8459eSDag-Erling Smørgrav.Dt PAM_SELF 8
40e2c8459eSDag-Erling Smørgrav.Os
41e2c8459eSDag-Erling Smørgrav.Sh NAME
42e2c8459eSDag-Erling Smørgrav.Nm pam_self
43e2c8459eSDag-Erling Smørgrav.Nd Self PAM module
44e2c8459eSDag-Erling Smørgrav.Sh SYNOPSIS
45e2c8459eSDag-Erling Smørgrav.Op Ar service-name
46e2c8459eSDag-Erling Smørgrav.Ar module-type
47e2c8459eSDag-Erling Smørgrav.Ar control-flag
48e2c8459eSDag-Erling Smørgrav.Pa pam_self
49e2c8459eSDag-Erling Smørgrav.Op Ar options
50e2c8459eSDag-Erling Smørgrav.Sh DESCRIPTION
51e2c8459eSDag-Erling SmørgravThe Self authentication service module for PAM,
52e2c8459eSDag-Erling Smørgrav.Nm
53e2c8459eSDag-Erling Smørgravprovides functionality for only one PAM category:
54e2c8459eSDag-Erling Smørgravauthentication.
55e2c8459eSDag-Erling SmørgravIn terms of the
56e2c8459eSDag-Erling Smørgrav.Ar module-type
57e2c8459eSDag-Erling Smørgravparameter, this is the
58e2c8459eSDag-Erling Smørgrav.Dq Li auth
59e2c8459eSDag-Erling Smørgravfeature.
60e2c8459eSDag-Erling SmørgravIt also provides a null function for session management.
61e2c8459eSDag-Erling Smørgrav.Ss Self Authentication Module
62e2c8459eSDag-Erling SmørgravThe Self authentication component
63e2c8459eSDag-Erling Smørgrav.Pq Fn pam_sm_authenticate ,
64b6b756b5SDag-Erling Smørgravreturns success if and only if the target user's user ID is identical
65b6b756b5SDag-Erling Smørgravwith the current real user ID.
66e2c8459eSDag-Erling Smørgrav.Pp
67e2c8459eSDag-Erling SmørgravThe following options may be passed to the authentication module:
68e2c8459eSDag-Erling Smørgrav.Bl -tag -width ".Cm no_warn"
69e2c8459eSDag-Erling Smørgrav.It Cm debug
70e2c8459eSDag-Erling Smørgrav.Xr syslog 3
71e2c8459eSDag-Erling Smørgravdebugging information at
72e2c8459eSDag-Erling Smørgrav.Dv LOG_DEBUG
73e2c8459eSDag-Erling Smørgravlevel.
74e2c8459eSDag-Erling Smørgrav.It Cm no_warn
75e2c8459eSDag-Erling Smørgravsuppress warning messages to the user.
76e2c8459eSDag-Erling SmørgravThese messages include reasons why the user's authentication attempt
77e2c8459eSDag-Erling Smørgravwas declined.
78e2c8459eSDag-Erling Smørgrav.El
79e2c8459eSDag-Erling Smørgrav.Sh SEE ALSO
80e2c8459eSDag-Erling Smørgrav.Xr getuid 2 ,
81e2c8459eSDag-Erling Smørgrav.Xr pam.conf 5 ,
82e2c8459eSDag-Erling Smørgrav.Xr pam 8
83