由 lakerman 在 12-14-2002 15:28 发表:
我的WU-FTP只能匿名登陆,所以的帐号都不能用!(内附FTPACCESS)
This file controls the behavior of the wu-ftpd
ftp server.
If you're looking for a graphical frontend to
editing it, try kwuftpd from the kdeadmin
package.
Don't allow system accounts to log in over ftp
deny-uid %-99 %65534-
deny-gid %-99 %65534-
allow-uid ftp
allow-gid ftp
The ftpchroot group doesn't exist by default, this
entry is just supplied as an example.
To chroot a user, modify the line below or create
the ftpchroot group and add the user to it.
You will need to setup the required applications
and libraries in the root directory (set using
guest-root).
Look at the anonftp package for the files you'll need.
guestgroup ftpchroot
User classes...
class all real,anonymous,guest *
Set this to your email address
email root@localhost
Allow 5 mistyped passwords
loginfails 5
Notify the users of README files at login and when
changing to a different directory
readme README* login
readme README* cwd=*
Messages displayed to the user
message /welcome.msg login
message .message cwd=*
由 ckf 在 12-15-2002 10:47 发表:
以下是我的ftpaccess,但我的就和你的刚好相反,普通用户能登陆,但匿名就下能登陆,可以续传,但不知怎样禁止覆写,作叁考吧,
This file controls the behavior of the wu-ftpd
ftp server.
If you're looking for a graphical frontend to
editing it, try kwuftpd from the kdeadmin
package.
Don't allow system accounts to log in over ftp
deny-uid %-99 %65534-
deny-gid %-99 %65534-
allow-uid ftp
allow-gid ftp
The ftpchroot group doesn't exist by default, this
entry is just supplied as an example.
To chroot a user, modify the line below or create
the ftpchroot group and add the user to it.
You will need to setup the required applications
and libraries in the root directory (set using
guest-root).
Look at the anonftp package for the files you'll need.
guestgroup ftpchroot
User classes...
class all real,guest,anonymous *
Set this to your email address
email root@localhost
Allow 5 mistyped passwords
loginfails 5
Notify the users of README files at login and when
changing to a different directory
readme README* login
readme README* cwd=*
Messages displayed to the user
message /welcome.msg login
message .message cwd=*
Allow on-the-fly compression and tarring
compress yes all
tar yes all