OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / shadow / original / man8 / pwauth.8
1 .\"$Id: pwauth.8,v 1.8 2002/03/08 04:39:11 kloczek Exp $
2 .\" Copyright 1992, Julianne Frances Haugh
3 .\" All rights reserved.
4 .\"
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
7 .\" are met:
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\"    notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\"    notice, this list of conditions and the following disclaimer in the
12 .\"    documentation and/or other materials provided with the distribution.
13 .\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors
14 .\"    may be used to endorse or promote products derived from this software
15 .\"    without specific prior written permission.
16 .\"
17 .\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND
18 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 .\" ARE DISCLAIMED.  IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE
21 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 .\" SUCH DAMAGE.
28 .TH PWAUTH 8
29 .SH NAME
30 pwauth \- administrator defined password authentication
31 .SH DESCRIPTION
32 The system administrator is able to define a list of programs which
33 are used to validate a user's identity.
34 These programs are given in place of the encrypted password
35 information which is present in either the \fI/etc/passwd\fR or
36 \fI/etc/shadow\fR files.
37 The utilities which administer user accounts examine the encrypted
38 password field and determine if the user has an administrator defined
39 authentication program.
40 The \fBpw_auth\fR function will be invoked whenever one of these
41 administration programs determines that a user which is being altered
42 has authentication programs defined.
43 .PP
44 The initial entry is created with the \fBuseradd\fR command.
45 Alterations, such as changing authentication information or deleting
46 the user account, will cause the \fBpw_auth\fR function to be invoked.
47 This keeps the authentication information up to date for each user
48 account.
49 .PP
50 The authentication programs do not create the actual login or network
51 sessions. 
52 The exit code from the authentication program is taken as an
53 indication that the action is to be permitted.
54 The calling process must have the appropriate priviledges to create
55 the login or network session itself.
56 .SH SEE ALSO
57 .BR login (1),
58 .BR passwd (1),
59 .BR su (1),
60 .BR pw_auth (3),
61 .BR useradd (8),
62 .BR userdel (8),
63 .BR usermod (8)
64 .SH AUTHOR
65 Julianne Frances Haugh (jockgrrl@ix.netcom.com)