Login incorreto ao tentar efetuar login no VSFTPD

0

Estou configurando um novo servidor linux e instalei o VSFTPD. Eu consigo logar no FTP usando o usuário root, mas não usando meu novo usuário "AMP". Estou usando a mesma senha que usaria para fazer o login como AMP no SSH, por isso não é uma senha errada.

Eu olhei em volta e descobri que há uma configuração de lista de usuários ... mas configurei como NO, esperando que isso signifique que eu não precisei me preocupar com as listas de usuários. AMP tem um conjunto de pastas domésticas (/ home / AMP) ... Estou um pouco perdido aqui. Tenho certeza que é algo simples ... alguém tem alguma idéia?

# Run standalone?  vsftpd can run either from an inetd or as a standalone
# daemon started from an initscript.
listen=NO


userlist_enable=NO
#
# This directive enables listening on IPv6 sockets. By default, listening
# on the IPv6 "any" address (::) will accept connections from both IPv6
# and IPv4 clients. It is not necessary to listen on *both* IPv4 and IPv6
# sockets. If you want that (perhaps because you want to listen on specific
# addresses) then you must run two copies of vsftpd with two configuration
# files.
listen_ipv6=YES
#
# Allow anonymous FTP? (Disabled by default).
anonymous_enable=NO
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
    
por runelynx 04.01.2016 / 04:20

1 resposta

0

Encontrei a resposta aqui -

Novo usuário local não pode acessar o vsftpd

Adicionou o shell / bin / false ao meu usuário em / etc / passwd ... e depois adicionou esse shell à lista em / etc / shells. Tentei fazer o login e funcionou !!!

    
por 04.01.2016 / 04:43