질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

centos 쓰고있습니다.. proftpd 에 대해 물어보고싶은게 있습니다.

작성자 정보

  • ha2ru 작성
  • 작성일

컨텐츠 정보

본문

우선 설치를 마무리 했습니다..ㅠㅠ

그런데

[root@localhost ~]# ftp localhost
Connected to localhost.localdomain.
220 ProFTPD 1.3.3rc2 Server (ha2ru zip...) [127.0.0.1]
500 AUTH not understood
500 AUTH not understood
KERBEROS_V4 rejected as an authentication type
Name (localhost:root): test1
331 Anonymous login ok, send your complete email address as your password
Password:
230 Anonymous access granted, restrictions apply
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>







[ha2ru@localhost ~]$ ftp localhost
Connected to localhost.localdomain.
220 ProFTPD 1.3.3rc2 Server (ha2ru zip...) [127.0.0.1]
500 AUTH not understood
500 AUTH not understood
KERBEROS_V4 rejected as an authentication type
Name (localhost:ha2ru): ha2ru
331 Anonymous login ok, send your complete email address as your password
Password:
230 Anonymous access granted, restrictions apply
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>




자꼬 -_- 사용자 계정으로 않가지고  Anonymous  일로 가버리는군요;;;

 

뭘 어떻게 해야할지 모르겠습니다.......찾아도 보고했지만..흑

 

 

proftpd.conf 파일 내용입니다.

# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use.  It establishes a single server
# and a single anonymous login.  It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName                      "ha2ru zip..."
ServerType                      standalone
DefaultServer                   on

# Port 21 is the standard FTP port.
Port 21

# Don't use IPv6 support by default.
UseIPv6                         off

# 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 under which the server will run.
User nobody
Group nobody

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~

# Normally, we want files to be overwriteable.
AllowOverwrite          on

# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
  DenyAll
</Limit>

# A basic anonymous configuration, no upload directories.  If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<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                    10

  # We want 'welcome.msg' displayed at login, and '.message' displayed
  # in each newly chdired directory.
  DisplayLogin                  welcome.msg
  DisplayChdir                  .message


  # Limit WRITE everywhere in the anonymous chroot
  <Limit WRITE>
    DenyAll
  </Limit>
</Anonymous>

UseReverseDNS off
IdentLookups off

왜이런걸까요..ㅠㅠ

책보고 3일째 이러고있습니다...

관련자료

댓글 1

리온님의 댓글

  • 리온
  • 작성일
# A basic anonymous configuration, no upload directories.  If you do not
# want anonymous users, simply delete this entire <Anonymous> section.

#기본 anonymous 설정, 업로드 디렉토리는 없음.
#만약 anonymous 유저를 원하지 않으면 그냥 <Anonymous> 섹션을 다 지우던가 하시오.
라는 말입니다.

따라서 아래와 같이 다 주석처리를 하던지 아래 라인들을 다 지워버리면 됩니다.

#<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                    10

  # We want 'welcome.msg' displayed at login, and '.message' displayed
  # in each newly chdired directory.
#  DisplayLogin                  welcome.msg
#  DisplayChdir                  .message


  # Limit WRITE everywhere in the anonymous chroot
#  <Limit WRITE>
#    DenyAll
#  </Limit>
#</Anonymous>

공지사항


뉴스광장


  • 현재 회원수 :  60,081 명
  • 현재 강좌수 :  36,019 개
  • 현재 접속자 :  161 명