Wednesday, October 18, 2006

 

ftpd

edit the /etc/vsftpd as follow:
local_enable=YES
write_enable=YES
chroot_local_user=YES
then restart vsftpd, the local user is enable now.
plus the follow inside the file mentioned upsite:
user_config_dir=/etc/vsftpd/vsftpd_user_conf
then we make the directory as clue
mkdir -p /etc/vsftpd/vsftpd_user_conf , be mind that it must be a dir.
then create the file and modify your user:
echo XXX > ftpuser
local_root=PATH to directory就可以更改用户的home directory
local_max_rate=XXXX就可以限制此用户的带宽.
cmds_allowed=XXXXX, 此用户可以使用的指令

Comments: Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?