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
4 all are chrooted, and they have their own home directory.
7 -\fI/etc/pureftpd.passwd\fP
8 +\fI/etc/ftp/pureftpd.passwd\fP
10 -\fI/etc/pureftpd.pdb\fP
11 +\fI/etc/ftp/pureftpd.pdb\fP
12 .SH "ENVIRONMENT VARIABLES"
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.
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.
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
32 -* Virtual users: /etc/pureftpd.pdb .
33 +* Virtual users: /etc/ftp/pureftpd.pdb .
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.
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:...) .
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.
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:
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 .
64 Let's start the FTP server:
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
69 Everything should be ok now.
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
74 servers. Use per-ip limits instead.
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
81 Let's have a look at its content:
84 pure-pw usermod joe -n 1000 -N 10
86 -Let's have a look at /etc/pureftpd.passwd:
87 +Let's have a look at /etc/ftp/pureftpd.passwd:
89 joe:$1$LX/3.F60$bYdYwsQOYIaWq.Ko.hfI3.:500:101::/home/ftpusers/joe/./::::::1000:10485760::::::
92 ------------------------ DISPLAYING INFO ------------------------
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.
99 It's why you can use "pure-pw show", whoose syntax is:
100 @@ -213,22 +213,22 @@
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.
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.
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):
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>
128 @@ -244,13 +244,13 @@
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
136 pure-pw passwd joe -m
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 .
143 ------------------------ ENABLING VIRTUAL USERS ------------------------
145 Let's run the server with automatic creation of home directories and puredb
148 -/usr/local/sbin/pure-ftpd -j -lpuredb:/etc/pureftpd.pdb &
149 +/usr/local/sbin/pure-ftpd -j -lpuredb:/etc/ftp/pureftpd.pdb &
151 Try to 'ftp localhost' and log in as joe.
157 - pure-pwconvert >> /etc/pureftpd.passwd
158 + pure-pwconvert >> /etc/ftp/pureftpd.passwd
161 If you do it as a non-privileged user, passwords won't be filled in. If you
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 .
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
172 +/etc/ftp/pureftpd.pdb .