Method 1 for activating the ftp service in linux. Method 1: Use ntsysv. in the displayed window, add * before vsftpd, and press OK. Method 2: edit/etc/xinetd. d/vsftpd [root @ wljsroot] # vi/et...
Method 1 for activating the ftp service in linux. Method 1: Use ntsysv. in the displayed window, add * before vsftpd, and press OK. Method 2: edit/etc/xinetd. d/vsftpd [root @ wljs root] # vi/etc/xinetd. d/vsftpd find disable = yes and change yes to no. Www.2cto.com 2. activate the service [root @ wljs root] # service vsftpd restart 1. solve the problem of ftp login for root users in Linux. generally, for various reasons, ftp does not allow remote login for root users, but you can log on as long as you modify a file. a. remove or comment out the root B in/etc/vsftpd/ftpusers, and remove or comment out the root 2 in/etc/vsftpd/user_list. modifying the default ftp path www.2cto.com my hard disk space is limited. how can I change the default ftp path/var/ftp of the account to another place? Or, all my linux directories are placed in the/root partition. due to space shortage, can I put the default path of the ftp user to another partition? Yes, you should do the following! First, delete the ftp user # userdel-r ftp with an error message. However, this is normal. Www.2cto.com and then we add this user. for example, if I want to set the home directory of the ftp account to/mnt/LinG/ftp, you can perform the following operations: [root @ linuxsir001 root] # mkdir/root/ftp [root @ linuxsir001 root] # adduser-d/root/ftp-g ftp-s/sbin/nologin ftp does not work, because anonymous users still cannot find their home directories, we must change the permissions of the/mnt/LinG/ftp directory. [Root @ linuxsir001 root] # chmod 755/root/ftp/[root @ linuxsir001 root] # chown-R root. root/ftp/
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