CentOS Server Operations

Source: Internet
Author: User
Tags ftp login centos server

Create FTP login user under CentOS

Yum Install vsftpd
2. Start/restart/shutdown VSFTPD Server
[Email protected] ftp]#/sbin/service vsftpd restart

Shutting down VSFTPD: [OK]
Starting vsftpd for VSFTPD: [OK]
OK indicates that the restart was successful.
Start and close respectively restart to Start/stop

If the source is installed, go to the installation folder to find the start.sh and shutdown.sh files, execute them.

4. Add FTP Local Users
FTP users are generally unable to log on to the system, only to enter the FTP server's own directory, which is for security. You cannot log in to the shell, and you cannot log in to the system.
/usr/sbin/adduser-d/alidata/www/t.0757j.net-g ftp-s/sbin/nologin t.0757j.net
The meaning of this command is:
Use the command (adduser) to add t.0757j.net user, cannot log on to the system (-s/sbin/nologin), own folder in (-d/alidata/www/t.0757j.net)), belong to group FTP (-G FTP)
Then you need to set the password for it passwd t.0757j.net

CentOS Server Operations

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.