Article Title: Install ProFTPD in Linux. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open source, and other basic categories 1. Configure the method for running ProFTPD
ServerType inetd
# Set the user and group that the server normally runs.
User nobody
Group nobody
If inetd,/etc/init. d/proftpd start is selected for ServerType, an error is returned because you have selected inetd to run.
ProFTPd warning: cannot start neither in standalone nor in inetd/xinetd mode. Check your configuration.
To manually execute ProFTPD, set ServerType to standalone.
2. NIS Authentication
/Etc/nsswitch. conf must have the nis Service
# Users require a valid shell listed in/etc/shells to login.
# Use this directive to release that constrain.
# RequireValidShells off
You must put the shell information/usr/local/bin/bash passed by NIS Sever in the/etc/shells list; otherwise, it is regarded as invalid shell.
In addition, you can directly modify the field of the corresponding shell in the/etc/passwd file to/bin/bash to ignore the shell information sent from the remote end.
There is also an important setting,
# Uncomment this if you are using NIS or LDAP to retrieve passwords:
PersistentPasswd off
If PersistentPasswd is set to on, only check the user account in/etc/passwd. Do not use uncomment. Use the above statement. Remember!
3. xinet start ProFTPD
# Set the user and group that the server normally runs.
User root
Group root
Create/etc/xinetd. d/proftpd and edit the following content.
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.