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