The root Account of the vsftp server cannot be used for ftp logon.

Source: Internet
Author: User

The root Account of the vsftp server cannot be used for ftp logon.

By default, vsftp does not allow root users to log on. you can modify the limits to solve this problem.

First, find the vsftp configuration directory.

[Root @ localhost vsftpd] # pwd

/Etc/vsftpd

[Root @ localhost vsftpd] # ls

Chroot_list ftpusers user_list vsftpd. conf vsftpd_conf_migrate.sh

[Root @ localhost vsftpd] #


Modify

[Root @ localhost vsftpd] # cat ftpusers

# Users that are not allowed to login via ftp

# Root

Bin

Daemon

Adm

Lp

Sync

Shutdown

Halt

Mail

News

Uucp

Operator

Games

Nobody


Modify

[Root @ localhost vsftpd] # cat user_list

# Vsftpd userlist

# If userlist_deny = NO, only allow users in this file

# If userlist_deny = YES (default), never allow users in this file, and

# Do not even prompt for a password.

# Note that the default vsftpd pam config also checks/etc/vsftpd/ftpusers

# For users that are denied.

# Root

Bin

Daemon

Adm

Lp

Sync

Shutdown

Halt

Mail

News

Uucp

Operator

Games

Nobody


The above two are the list of accounts that are not allowed to be used by vsftp by default. Let's talk about deleting the root account in the file, or add a # above to restart the vsftpd service.

-------------------------------------- Split line --------------------------------------

Four Advanced configurations of vsftpd Server:

VsFTPd configuration Tutorial:

Simple and practical Ubuntu FTP setup

Set up FTP server and Apache server on Ubuntu

Install the LAMP \ vsftpd \ Webmin \ phpMyAdmin service and settings in Ubuntu 13.04

Simple case of anonymous uploading of SeLinux and vsftpd on the RHEL6 Platform

Install vsftpd source code in Linux

Case study of vsftpd Security Configuration

-------------------------------------- Split line --------------------------------------

This article permanently updates the link address:

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.