*** Two FTP User Tayab and Khan will share same home directory to upload and download /var/www/html/career
cd /var/www/html
adduser tayab -d /var/www/html/career/
chown -R tayab:tayab careerbd
passwd tayab
adduser khan -d /var/www/html/career/ -g tayab
passwd khan
chmod g=rwx -R *
***
vi /etc/vsftpd/user_list
tayab
khan
------------
CentOS VSFTPD File
==================
root# cat /etc/vsftpd/vsftpd.conf
# ============================
#local_umask=07
anonymous_enable=NO
chroot_local_user=YES
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
ftpd_banner=Welcome to Jobsbd's FTP service- by Tayab Khan.
listen=YES
pasv_min_port=2121
pasv_max_port=2142
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
userlist_deny=NO
syslog_enable=YES
xferlog_enable=NO
vsftpd_log_file=/var/log/vsftpd.log
xferlog_std_format=NO
log_ftp_protocol=YES
# =================================
Ubuntu VSFPTD FILE...
===============
root@www:~# grep "^[^#;]" /etc/vsftpd.conf
listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
anon_upload_enable=YES
anon_mkdir_write_enable=YES
pasv_enable=Yes
pasv_min_port=40000
pasv_max_port=40100
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES
chroot_local_user=YES
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=ftp
rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
allow_writeable_chroot=YES
----------------------
vi /etc/vsftpd.user_list
tayab
khan
=================
login via coreftp