vsftp가 530 잘못된 로그인을 반환하는 이유는 무엇입니까?

vsftp가 530 잘못된 로그인을 반환하는 이유는 무엇입니까?

vsftpd아치 Linux 데스크탑에서 서버를 시작하고 일반 사용자를 사용하여 로그인을 시도했습니다 . 하지만 로그인을 시도하면 "530 잘못된 로그인" 메시지가 나타납니다.

$ systemctl start vsftpd

$ groups
wheel tom

$ hostname
desktop

$ ftp desktop
Connected to desktop.localdomain.
220 Just to make extra sure the server is configured by this file.
Name (desktop:tom):
331 Please specify the password.
Password:
530 Login incorrect.
ftp: Login failed.
ftp> 221 Goodbye.

/etc/vsftpd.conf

anonymous_enable=NO
local_enable=YES
write_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
ftpd_banner=Just to make extra sure the server is configured by this file.
listen=YES

# I also tried different combinations of these, no dice
# seccomp_sandbox=NO
# pam_service_name=ftp

이 문제를 해결하고 로그인할 수 있게 해주는 구성 변경 사항이 있습니까? 내가 하는 일이 다른 사람과 다르다고 말할 수는 없다.

답변1

/etc/vsftpd.conf:

pam_service_name=vsftpd

관련 정보