Configure local users to access vsftpd in CentOS6 and Grant write permission
Source: Internet
Author: User
During this time, I used ftp in linux and found the problem on the Internet. If the information on the Internet is messy, I decided to record my configuration process, which is also convenient for me to view later. 1. install and test availability 1. install command yuminstallvsftpd2 and configure firewall 3. configure service configuration to boot...
During this time, I used ftp in linux and found the problem on the Internet. If the information on the Internet is a little messy, I decided to record my configuration process,
It is also convenient for me to view later.
1. install and test availability 1. install the command yum install vsftpd2 and configure the firewall
3. configure service configuration to start upon startup
Start Service:/etc/init. d/vsftpd start
4. access the test and add the file and test: Path:/var/ftp/echo "Just a test">/var/ftp/test.txt
2. configure local user access and Grant write permission
1. configure vsftpd. conf file vi vsftpd. conf prohibit anonymous user access: anonymous_enable = NO allow local users to log on: local_enable = YES grant local users write permission (upload, delete): write_enable = YES configure local user access: www.2cto.com chroot_list_enable = YESchroot_list_file =/etc/vsftpd/chroot_list2. add a local user to ftpuservi chroot_list and add a local user admin
3. configure SELinux to view the selinux configuration of ftp: getsebool-a | grep ftp to set the directory access permission: setsebool ftp_home_dir 14. test and restart the vsftpd service: service vstfpd restart access:
Okay, that's all. I hope it will help you. Author Mike_Zhang
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service