Glftp user addition and Deletion

Source: Internet
Author: User
Tags unsupported
Glftp user addition and deletion-Linux Enterprise Application-Linux server application information. The following is a detailed description. 1. Add a user
First, log on to glftp with the Administrator account
[Root @ HP208 ~] # Ftp localhost
Connected to HP208.
220 OH oh OH (glFTPd 2.01 Linux + TLS) ready.
504 auth gssapi unsupported
504 auth login OS _v4 unsupported
KERBEROS_V4 rejected as an authentication type
Name (localhost: root): glftpd
331 Password required for glftpd.
Password: Note: The Password is glftpd.
230 User glftpd logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
Ftp>
Add User
Ftp> site adduser mytest mypass *@*
In this way, a mytest user is added, and the password is mypass. * @ * indicates that access by any host or IP address is allowed.

2. delete a user
Log on to glftp with the Administrator account
Ftp> site adduser mytest
Go to the glftp installation directory and delete the user lines in the glftpd/etc/passwd and glftpd/etc/passwd-files,
Delete the user files in the glftpd/ftp-data/users directory

3. Users cannot upload files
Cause: the user has no write permission on the directory.
Solution: Modify the account user and group id in glftpd/etc/passwd so that they have the same permissions as the root directory used by the user, so that the user has the write permission on the directory.

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.