From: jose m. <aso...@zo...> - 2010-02-17 18:32:11
|
* ftp server deployment with virtual users and virtual servers on cluster MFS solved. * MFS compiled - with-default-user = virtual and group virtual , uid 20000 gid 20000 on all machines, mfsclients, mfsmaster and chunkservers * other combinations or users are possible. * on mfsclients , /media/mfs mount point for the cluster. * on mfsclients, homedir for user "virtual" /media/mfs and real shell /bin/bash for tests * /etc/passwd ----> virtual:x:20000:20000::/media/mfs:/bin/bash * Create directories for base of virtual servers * /media/mfs/ftp00 /media/mfs/ftp01 /media/mfsftp02 ...... ------------------ * /etc/vsftpd-ftp00.conf # virtual users guest_enable=YES guest_username=virtual # user system that manages the virtual users virtual_use_local_privs=YES local_enable=YES user_sub_token=$USER local_root=/media/mfs/ftp00/$USER #create directories for virtualusers chroot_local_user=YES -------------------- * /etc/vsftpd-ftp01.conf # virtual users guest_enable=YES guest_username=virtual # user system that manages the virtual users virtual_use_local_privs=YES local_enable=YES user_sub_token=$USER local_root=/media/mfs/ftp01/$USER chroot_local_user=YES --------------------------------------- * others .......... * a small delay occurs in the FTP connection, but it works fine. * I can not find solution to mount the system mfsmeta (trash) , HELP, HELP ................................ * jose maria. |