8980 BIOS clock is sometimes one hour fast
[unleashed.git] / usr / src / man / man1m / in.uucpd.1m
blobf8fac56b7c05a2594ae4b60cffbb60cd5316b368
1 '\" te
2 .\"  Copyright (c) 2004, Sun Microsystems, Inc.  All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH IN.UUCPD 1M "Aug 12, 2004"
7 .SH NAME
8 in.uucpd, uucpd \- UUCP server
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fB/usr/sbin/in.uucpd\fR [\fB-n\fR]
13 .fi
15 .SH DESCRIPTION
16 .sp
17 .LP
18 \fBin.uucpd\fR is the server for supporting \fBUUCP\fR connections over
19 networks.
20 .sp
21 .LP
22 \fBin.uucpd\fR is invoked by \fBinetd\fR(1M) when a \fBUUCP\fR connection is
23 established, that is, a connection to the port indicated in the "uucp" service
24 specification, and executes the following protocol. See \fBservices\fR(4):
25 .RS +4
26 .TP
28 The server prompts with \fBlogin:\fR. The \fBuucico\fR(1M) process at the
29 other end must supply a username.
30 .RE
31 .RS +4
32 .TP
34 Unless the username refers to an account without a password, the server then
35 prompts with \fBPassword:\fR. The \fBuucico\fR process at the other end must
36 supply the password for that account.
37 .RE
38 .sp
39 .LP
40 If the username is not valid, or is valid but refers to an account that does
41 not have \fB/usr/lib/uucp/uucico\fR as its login shell, or if the password is
42 not the correct password for that account, the connection is dropped.
43 Otherwise, \fBuucico\fR is run, with the user \fBID\fR, group \fBID\fR, group
44 set, and home directory for that account, with the environment variables
45 \fBUSER\fR and \fB LOGNAME\fR set to the specified username, and with a
46 \fB-u\fR flag specifying the username. Unless the \fB-n\fR flag is specified,
47 entries are made in \fB/var/adm/utmpx\fR, \fB/var/adm/wtmpx\fR, and
48 \fB/var/adm/lastlog\fR for the username. \fBin.uucpd\fR must be invoked by a
49 user with appropriate privilege (usually root) in order to be able to verify
50 that the password is correct.
51 .SH SECURITY
52 .sp
53 .LP
54 \fBin.uucpd\fR uses \fBpam\fR(3PAM) for authentication, account management, and
55 session management.  The \fBPAM\fR configuration policy, listed through
56 \fB/etc/pam.conf\fR, specifies the modules to be used for \fBin.uucpd\fR. Here
57 is a partial \fBpam.conf\fR file with entries for \fBuucp\fR using the UNIX
58 authentication, account management, and session management module.
59 .sp
60 .in +2
61 .nf
62 uucp    auth requisite          pam_authtok_get.so.1
63 uucp    auth required           pam_dhkeys.so.1
64 uucp    auth required           pam_unix_auth.so.1
66 uucp    account requisite       pam_roles.so.1
67 uucp    account required        pam_projects.so.1
68 uucp    account required        pam_unix_account.so.1
70 uucp      session required      pam_unix_session.so.1
71 .fi
72 .in -2
74 .sp
75 .LP
76 If there are no entries for the \fBuucp\fR service, then the entries for the
77 "other" service will be used. If multiple authentication modules are listed,
78 then the peer may be prompted for multiple passwords.
79 .SH FILES
80 .sp
81 .ne 2
82 .na
83 \fB\fB/var/adm/utmpx\fR\fR
84 .ad
85 .RS 20n
86 accounting
87 .RE
89 .sp
90 .ne 2
91 .na
92 \fB\fB/var/adm/wtmpx\fR\fR
93 .ad
94 .RS 20n
95 accounting
96 .RE
98 .sp
99 .ne 2
101 \fB\fB/var/adm/lastlog\fR\fR
103 .RS 20n
104 time of last login
107 .SH SEE ALSO
110 \fBsvcs\fR(1), \fBinetadm\fR(1M), \fBinetd\fR(1M), \fBsvcadm\fR(1M),
111 \fBuucico\fR(1M), \fBpam\fR(3PAM), \fBpam.conf\fR(4), \fBservices\fR(4),
112 \fBattributes\fR(5), \fBpam_authtok_check\fR(5), \fBpam_authtok_get\fR(5),
113 \fBpam_authtok_store\fR(5), \fBpam_dhkeys\fR(5), \fBpam_passwd_auth\fR(5),
114 \fBpam_unix_account\fR(5), \fBpam_unix_auth\fR(5), \fBpam_unix_session\fR(5),
115 \fBsmf\fR(5)
116 .SH DIAGNOSTICS
119 All diagnostic messages are returned on the connection, after which the
120 connection is closed.
122 .ne 2
124 \fB\fBuser read\fR\fR
126 .RS 20n
127 An error occurred while reading the username.
131 .ne 2
133 \fB\fBpasswd read\fR\fR
135 .RS 20n
136 An error occurred while reading the password.
140 .ne 2
142 \fB\fBLogin incorrect.\fR\fR
144 .RS 20n
145 The username is invalid or refers to an account with a login shell other than
146 \fB/usr/lib/uucp/uucico\fR, or the password is not the correct password for the
147 account.
150 .SH NOTES
153 The \fBin.uucpd\fR service is managed by the service management facility,
154 \fBsmf\fR(5), under the service identifier:
156 .in +2
158 svc:/network/uucp
160 .in -2
165 Administrative actions on this service, such as enabling, disabling, or
166 requesting restart, can be performed using \fBsvcadm\fR(1M). Responsibility for
167 initiating and restarting this service is delegated to \fBinetd\fR(1M). Use
168 \fBinetadm\fR(1M) to make configuration changes and to view configuration
169 information for this service. The service's status can be queried using the
170 \fBsvcs\fR(1) command.
173 The \fBpam_unix\fR(5) module is no longer supported. Similar functionality is
174 provided by \fBpam_authtok_check\fR(5), \fBpam_authtok_get\fR(5),
175 \fBpam_authtok_store\fR(5), \fBpam_dhkeys\fR(5), \fBpam_passwd_auth\fR(5),
176 \fBpam_unix_account\fR(5), \fBpam_unix_auth\fR(5), and
177 \fBpam_unix_session\fR(5).