]> git.pld-linux.org Git - packages/pure-ftpd.git/blame - pure-ftpd-passwd_location.patch
- pam_shells.so on account like sshd
[packages/pure-ftpd.git] / pure-ftpd-passwd_location.patch
CommitLineData
1d8371da
PG
1--- ./man/pure-pw.8.org 2005-04-18 21:51:04.000000000 +0200
2+++ ./man/pure-pw.8 2008-01-18 10:06:00.000000000 +0100
3@@ -49,18 +49,18 @@
4 all are chrooted, and they have their own home directory.
5 .SH "FILES"
6 .LP
7-\fI/etc/pureftpd.passwd\fP
8+\fI/etc/ftp/pureftpd.passwd\fP
9 .br
10-\fI/etc/pureftpd.pdb\fP
11+\fI/etc/ftp/pureftpd.pdb\fP
12 .SH "ENVIRONMENT VARIABLES"
13 .LP
14 \fIPURE_PASSWDFILE\fP
15 If this variable is defined, this is the default value for the text password
16-file. Without this variable, /etc/pureftpd.passwd is assumed.
17+file. Without this variable, /etc/ftp/pureftpd.passwd is assumed.
18 .br
19 \fIPURE_DBFILE\fP
20 If this variable is defined, this is the default value for the PureDB password
21-file. Without this variable, /etc/pureftpd.pdb is assumed.
22+file. Without this variable, /etc/ftp/pureftpd.pdb is assumed.
23 .SH "EXAMPLES"
24 .LP
25 Please read http://www.pureftpd.org/README.Virtual\-Users
26--- ./FAQ.org 2004-07-22 09:37:00.000000000 +0200
27+++ ./FAQ 2008-01-18 10:03:04.000000000 +0100
28@@ -316,25 +316,25 @@
29
30
31
32-* Virtual users: /etc/pureftpd.pdb .
33+* Virtual users: /etc/ftp/pureftpd.pdb .
34
35--> I made changes to /etc/pureftpd.passwd but the server doesn't understand
36+-> I made changes to /etc/ftp/pureftpd.passwd but the server doesn't understand
37 them: I can't access any account I just created.
38
39-The server never reads /etc/pureftpd.passwd directly. Instead, it reads
40-/etc/pureftpd.pdb (or whatever file name you gave after -lpuredb:...) .
41+The server never reads /etc/ftp/pureftpd.passwd directly. Instead, it reads
42+/etc/ftp/pureftpd.pdb (or whatever file name you gave after -lpuredb:...) .
43
44-This file is a copy of /etc/pureftpd.passwd, but in a binary format,
45+This file is a copy of /etc/ftp/pureftpd.passwd, but in a binary format,
46 optimized for fast lookups.
47
48-After having made a manual change to /etc/pureftpd.passwd, you must rebuild
49-/etc/pureftpd.pdb with the following commands:
50+After having made a manual change to /etc/ftp/pureftpd.passwd, you must rebuild
51+/etc/ftp/pureftpd.pdb with the following commands:
52
53 pure-pw mkdb
54
55 If you add/delete/modify user accounts with pure-pw useradd/usermod/userdel/
56 passwd, don't forget the '-m' option to automatically rebuild
57-/etc/pureftpd.pdb and not only update /etc/pureftpd.passwd .
58+/etc/ftp/pureftpd.pdb and not only update /etc/ftp/pureftpd.passwd .
59
60
61
62@@ -630,7 +630,7 @@
63
64 Let's start the FTP server:
65
66-/usr/local/sbin/pure-ftpd -lpuredb:/etc/pureftpd.pdb -H -B
67+/usr/local/sbin/pure-ftpd -lpuredb:/etc/ftp/pureftpd.pdb -H -B
68
69 Everything should be ok now.
70
71--- ./README.Virtual-Users.org 2004-02-29 22:49:37.000000000 +0100
72+++ ./README.Virtual-Users 2008-01-18 10:05:10.000000000 +0100
73@@ -101,7 +101,7 @@
74 servers. Use per-ip limits instead.
75
76 Ok, "joe" has been created. By default, the list of virtual users is stored
77-in the /etc/pureftpd.passwd file (you can of course change this with -f
78+in the /etc/ftp/pureftpd.passwd file (you can of course change this with -f
79 <file>) .
80
81 Let's have a look at its content:
82@@ -127,7 +127,7 @@
83
84 pure-pw usermod joe -n 1000 -N 10
85
86-Let's have a look at /etc/pureftpd.passwd:
87+Let's have a look at /etc/ftp/pureftpd.passwd:
88
89 joe:$1$LX/3.F60$bYdYwsQOYIaWq.Ko.hfI3.:500:101::/home/ftpusers/joe/./::::::1000:10485760::::::
90
91@@ -173,7 +173,7 @@
92 ------------------------ DISPLAYING INFO ------------------------
93
94
95-To review info about one user, reading the /etc/pureftpd.passwd file is ok,
96+To review info about one user, reading the /etc/ftp/pureftpd.passwd file is ok,
97 but it's not really human-friendly.
98
99 It's why you can use "pure-pw show", whoose syntax is:
100@@ -213,22 +213,22 @@
101 IMPORTANT:
102
103 You can add, modify and delete users with the previous commands, or by
104-editing /etc/pureftpd.passwd by hand. But the FTP server won't consider the
105+editing /etc/ftp/pureftpd.passwd by hand. But the FTP server won't consider the
106 changes you make to that file, until you commit them.
107
108 Commiting changes really means that a new file is created from
109-/etc/pureftpd.passwd (or whatever file name you choose) . That new file is a
110+/etc/ftp/pureftpd.passwd (or whatever file name you choose) . That new file is a
111 PureDB file. It contains exactly the same info than the other file. But in
112 that file, accounts are sorted and indexed for faster access, even with
113 thousands of accounts. PureDB files are binary files, don't try to view them
114 or your terminal will beep like hell.
115
116-Let's create a PureDB file from /etc/pureftpd.passwd. The indexed file will
117-be called /etc/pureftpd.pdb (as always, choose whatever name you like):
118+Let's create a PureDB file from /etc/ftp/pureftpd.passwd. The indexed file will
119+be called /etc/ftp/pureftpd.pdb (as always, choose whatever name you like):
120
121 pure-pw mkdb
122
123-this reads /etc/pureftpd.passwd and creates /etc/pureftpd.pdb by default, but
124+this reads /etc/ftp/pureftpd.passwd and creates /etc/ftp/pureftpd.pdb by default, but
125 to read another file, add the pdb file, optionnaly followed by -f <passwd file>
126
127 For instance:
128@@ -244,13 +244,13 @@
129
130 You can also change something to the text passwords file (add users, change
131 password, delete users, etc) and automatically run
132-"pure-pw mkdb /etc/pureftpd.pdb" afterwards. To do so, just use the -m
133+"pure-pw mkdb /etc/ftp/pureftpd.pdb" afterwards. To do so, just use the -m
134 switch:
135
136 pure-pw passwd joe -m
137
138 This command will change Joe's password in pureftpd.passwd *and* commit the
139-change to /etc/pureftpd.pwd .
140+change to /etc/ftp/pureftpd.pwd .
141
142
143 ------------------------ ENABLING VIRTUAL USERS ------------------------
144@@ -270,7 +270,7 @@
145 Let's run the server with automatic creation of home directories and puredb
146 authentication:
147
148-/usr/local/sbin/pure-ftpd -j -lpuredb:/etc/pureftpd.pdb &
149+/usr/local/sbin/pure-ftpd -j -lpuredb:/etc/ftp/pureftpd.pdb &
150
151 Try to 'ftp localhost' and log in as joe.
152
153@@ -283,7 +283,7 @@
154
155 Just run it:
156
157- pure-pwconvert >> /etc/pureftpd.passwd
158+ pure-pwconvert >> /etc/ftp/pureftpd.passwd
159
160
161 If you do it as a non-privileged user, passwords won't be filled in. If you
162@@ -298,9 +298,9 @@
163
164 If defined, a PURE_PASSWDFILE environment variable can set the default path
165 to the pureftpd.passwd file. Without this variable, it defaults to
166-/etc/pureftpd.passwd .
167+/etc/ftp/pureftpd.passwd .
168
169 If defined, a PURE_DBFILE environment variable can set the default path
170 to the pureftpd.pdb file. Without this variable, it defaults to
171-/etc/pureftpd.pdb .
172+/etc/ftp/pureftpd.pdb .
173
This page took 0.068791 seconds and 4 git commands to generate.