간단히 말해 ftp 계정으로 로그인이 안되더라... 라는 말입니다.
먼저분 말처럼 /etc/passwd 에서 확인할 수 있는 ftp의 쉘이
ValidShell 이 아니거나 아니면 ftp의 홈디렉토리가
존재하지 않는 경우에도 같은 에러가 뜹니당. 참고하시길.
: :
: : 다름이 아니고 레드헷7.0에 proftp를 이용한 ftp서버를 운영 할려고 하는데
: : 요.
: :
: : 설정 화일 이상 없고 모든 매뉴얼 을 동원해서 설치를 했습니다.
: :
: : ftp 프로그램으로 일반 사용자들은 접속이 잘되는데 익명 사용자 (물론
: : proftpd.conf 에서 익명 허용하고 기타설정 맞추었는데) 로 접속 하면 로그
: : 인 과정에서 다음과 같은 에러가 납니다.
: :
: : 331 Anonumous login ok ....
: : PASS <password>
: : 530-Unable to set anonumous privileges.
: : 530User nobody
: Group nobody
: RequireValidShell off
: Login incorrect.
: :
: : 뭐가 문제인지 모르겠습니다.
: :
: : 혹시 몰라서 설정 화일을 올립니다.
: :
: ser nobody
: Group nobody
: RequireValidShell off
: :
: : ServerName "ProFTPD Default Installation"
: : ServerType standalone
: : DefaultServer on
: :
: : # Port 21 is the standard FTP port.
: : Port 21
: : # Umask 022 is a good standard umask to prevent new dirs and files
: : # from being group and world writable.
: : Umask 022
: :
: : # To prevent DoS attacks, set the maximum number of child processes
: : # to 30. If you need to allow more than 30 concurrent connections
: : # at once, simply increase this value. Note that this ONLY works
: : # in standalone mode, in inetd mode you should use an inetd server
: : # that allows you to limit maximum number of processes per service
: : # (such as xinetd)
: : MaxInstances 30
: :
: : # Set the user and group that the server normally runs at.
: : User nobody
: : Group nobody
:
: ------------------------
: User nobody
: Group nobody
: RequireValidShell off
: -----------------------------
:
: you can get what you want.
: good luck.
:
:
: : # Normally, we want files to be overwriteable.
: : <Directory /*>
: : AllowOverwrite on
: : </Directory>
: :
: : # A basic anonymous configuration, no upload directories.
: : <Anonymous ~ftp>
: : User ftp
: : Group ftp
: : # We want clients to be able to login with "anonymous" as well
: : as "ftp"
: : UserAlias anonymous ftp
: :
: : # Limit the maximum number of anonymous logins
: : MaxClients 30
: :
: : # We want 'welcome.msg' displayed at login, and '.message' displayed
: : # in each newly chdired directory.
: : DisplayLogin welcome.msg
: : DisplayFirstChdir .message
: :
: : # Limit WRITE everywhere in the anonymous chroot
: : <Limit WRITE>
: : DenyAll
: : </Limit>
: :
: : </Anonymous>