FTP Server on CentOS 6.3
- # yum install vsftpd
- # service vsftpd restart
- # chkconfig vsftpd on
Create user and create home directory
- # useradd -d /var/www/html/user01 user01
- # passwd user01
- # chmod 755 /var/www/html/user01
Config vsftpd [access owner folder only]
- # /etc/vsftpd/vsftpd.conf
>> anonymous_enable=YES >> anonymous_enable=NO
>> #chroot_local_user=YES >> chroot_local_user=YES
- # service vsftpd restart
- # chkconfig vsftpd on
Create user and create home directory
- # useradd -d /var/www/html/user01 user01
- # passwd user01
- # chmod 755 /var/www/html/user01
Config vsftpd [access owner folder only]
- # /etc/vsftpd/vsftpd.conf
>> anonymous_enable=YES >> anonymous_enable=NO
>> #chroot_local_user=YES >> chroot_local_user=YES
Comments
Post a Comment