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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
|
'\" te
.\" Copyright (C) 2003, Sun Microsystems, Inc. All Rights Reserved
.\" 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.
.\" 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.
.\" 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]
.TH FTPUSERS 4 "May 1, 2003"
.SH NAME
ftpusers \- file listing users to be disallowed ftp login privileges
.SH SYNOPSIS
.LP
.nf
\fB/etc/ftpd/ftpusers\fR
.fi
.SH DESCRIPTION
.LP
The \fBftpusers\fR file lists users for whom \fBftp\fR login privileges are
disallowed. Each \fBftpuser\fR entry is a single line of the form:
.sp
.in +2
.nf
name
.fi
.in -2
.sp
.LP
where \fBname\fR is the user's login name.
.sp
.LP
The FTP Server, \fBin.ftpd\fR(1M), reads the \fBftpusers\fR file. If the login
name of the user matches one of the entries listed, it rejects the login
attempt.
.sp
.LP
The \fBftpusers\fR file has the following default configuration entries:
.sp
.in +2
.nf
root
daemon
bin
sys
adm
lp
uccp
nuucp
smmsp
listen
nobody
noaccess
nobody4
.fi
.in -2
.sp
.LP
These entries match the default instantiated entries from \fBpasswd\fR(4). The
list of default entries typically contains the superuser \fBroot\fR and other
administrative and system application identities.
.sp
.LP
The root entry is included in the \fBftpusers\fR file as a security measure
since the default policy is to disallow remote logins for this identity. This
policy is also set in the default value of the \fBCONSOLE\fR entry in the
\fB/etc/default/login\fR file. See \fBlogin\fR(1). If you allow \fBroot\fR
login privileges by deleting the root entry in \fBftpusers\fR, you should also
modify the security policy in \fB/etc/default/login\fR to reflect the site
security policy for remote login access by \fBroot\fR.
.sp
.LP
Other default entries are administrative identities that are typically assumed
by system applications but never used for local or remote login, for example
\fBsys\fR and \fBnobody\fR. Since these entries do not have a valid password
field instantiated in \fBshadow\fR(4), no login can be performed.
.sp
.LP
If a site adds similar administrative or system application identities in
\fBpasswd\fR(4) and \fBshadow\fR(4), for example, \fBmajordomo\fR, the site
should consider including them in the \fBftpusers\fR file for a consistent
security policy.
.sp
.LP
Lines that begin with \fB#\fR are treated as comment lines and are ignored.
.SH FILES
.ne 2
.na
\fB\fB/etc/ftpd/ftpusers\fR\fR
.ad
.RS 22n
A file that lists users for whom \fBftp\fR login privileges are disallowed.
.RE
.sp
.ne 2
.na
\fB\fB/etc/ftpusers\fR\fR
.ad
.RS 22n
See \fB/etc/ftpd/ftpusers\fR. This file is deprecated, although its use is
still supported.
.RE
.sp
.ne 2
.na
\fB\fB/etc/default/login\fR\fR
.ad
.RS 22n
.RE
.sp
.ne 2
.na
\fB\fB/etc/passwd\fR\fR
.ad
.RS 22n
password file
.RE
.sp
.ne 2
.na
\fB\fB/etc/shadow\fR\fR
.ad
.RS 22n
shadow password file
.RE
.SH ATTRIBUTES
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.sp
.TS
box;
c | c
l | l .
ATTRIBUTE TYPE ATTRIBUTE VALUE
_
Interface Stability See below.
.TE
.sp
.LP
The interface stability for \fB/etc/ftpd/ftpusers\fR is Volatile. The interface
stability for \fB/etc/ftpusers\fR is (Obsolete).
.SH SEE ALSO
.LP
\fBlogin\fR(1), \fBftphosts\fR(4),
\fBpasswd\fR(4), \fBshadow\fR(4), \fBattributes\fR(5), \fBenviron\fR(5)
|