1ftpusers(4) File Formats ftpusers(4)
2
3
4
6 ftpusers - file listing users to be disallowed ftp login privileges
7
9 /etc/ftpd/ftpusers
10
11
13 The ftpusers file lists users for whom ftp login privileges are disal‐
14 lowed. Each ftpuser entry is a single line of the form:
15
16 name
17
18
19
20 where name is the user's login name.
21
22
23 The FTP Server, in.ftpd(1M), reads the ftpusers file. If the login name
24 of the user matches one of the entries listed, it rejects the login
25 attempt.
26
27
28 The ftpusers file has the following default configuration entries:
29
30 root
31 daemon
32 bin
33 sys
34 adm
35 lp
36 uccp
37 nuucp
38 smmsp
39 listen
40 nobody
41 noaccess
42 nobody4
43
44
45
46 These entries match the default instantiated entries from passwd(4).
47 The list of default entries typically contains the superuser root and
48 other administrative and system application identities.
49
50
51 The root entry is included in the ftpusers file as a security measure
52 since the default policy is to disallow remote logins for this iden‐
53 tity. This policy is also set in the default value of the CONSOLE entry
54 in the /etc/default/login file. See login(1). If you allow root login
55 privileges by deleting the root entry in ftpusers, you should also mod‐
56 ify the security policy in /etc/default/login to reflect the site secu‐
57 rity policy for remote login access by root.
58
59
60 Other default entries are administrative identities that are typically
61 assumed by system applications but never used for local or remote
62 login, for example sys and nobody. Since these entries do not have a
63 valid password field instantiated in shadow(4), no login can be per‐
64 formed.
65
66
67 If a site adds similar administrative or system application identities
68 in passwd(4) and shadow(4), for example, majordomo, the site should
69 consider including them in the ftpusers file for a consistent security
70 policy.
71
72
73 Lines that begin with # are treated as comment lines and are ignored.
74
76 /etc/ftpd/ftpusers A file that lists users for whom ftp login privi‐
77 leges are disallowed.
78
79
80 /etc/ftpusers See /etc/ftpd/ftpusers. This file is deprecated,
81 although its use is still supported.
82
83
84 /etc/default/login
85
86
87 /etc/passwd password file
88
89
90 /etc/shadow shadow password file
91
92
94 See attributes(5) for descriptions of the following attributes:
95
96
97
98
99 ┌─────────────────────────────┬─────────────────────────────┐
100 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
101 ├─────────────────────────────┼─────────────────────────────┤
102 │Availability │SUNWftpr │
103 ├─────────────────────────────┼─────────────────────────────┤
104 │Interface Stability │See below. │
105 └─────────────────────────────┴─────────────────────────────┘
106
107
108 The interface stability for /etc/ftpd/ftpusers is Volatile. The inter‐
109 face stability for /etc/ftpusers is (Obsolete).
110
112 login(1), in.ftpd(1M), ftpaccess(4), ftphosts(4), passwd(4), shadow(4),
113 attributes(5), environ(5)
114
115
116
117SunOS 5.11 1 May 2003 ftpusers(4)