>> Delete Reply from No. 0 article
No. RE: RE: Proftpd 설치했는데.., Anonymous가 안되네요.,

등록 2002-04-23 12:23:00 By localhost     조회 1
이름 U1Y4m    

		답변 고맙습니다.
 ftp 계정을 제가 새로 만들었거든요..,
 그래서 /home/ftp 가 생성되어 있어요..,
 그리구 혹시나 싶어서 /var도 만들어 줬거든요..,
 안되네요..,
 접속이 안 되는 건 아니고요.., 접속은 됩니다...,
 제 계정 uiyam 은 로긴이 떠서.., Shell(이것두 셀인가..)이 뜨구요..,
 anonymous 로 접속은 되고 로긴이 안 되요..,
 접속은 살아 있거든요.. netstat 치면요..
 tcp        0      0 211.106.244.2:ftp       61.79.72.228:1464     
ESTABLISHED
/* 접속만 된 상태 */
 tcp        0      0 211.106.244.2:ftp       61.79.72.228:1464     
ESTABLISHED
/* 계정으로 로긴한 상태 동일 */
 tcp        0      0 211.106.244.2:ftp       61.79.72.228:1577     
ESTABLISHED
/* anonymous 접속한 상태 */
 그리구 명령어 치면.., 이런 에러..
530 Please login with USER and PASS.
    : 혹시 /var디렉 아래에 ftp디렉을 만들어 주셨나요?
: 설정에도 이상이 없는데 접속이 않된다면 접속할 디렉을 못찾아서 일경우
가
: 많습니다.
:
: : 몇일을 잡고.., 뒤지다가 결국엔 글을 올립니다..,
: :
: : 계정으로는 접속이 되는데.., Anonymous로는 접속이 안 되네요..,
: :
: : [uiyam@localhost /]$ ftp localhost
: : Connected to localhost (127.0.0.1).
: : 220 ProFTPD 1.2.4 Server (U1Y4m Linux Box -- W31C0M3 3v3rY80DY --)
[localhost.localdomain]
: : Name (localhost:uiyam): anonymous
: : 331 Anonymous login ok, send your complete email address as your
password.
: : Password:
: : 530 Login incorrect.
: : Login failed.
: : ftp>
: :
: :
: :
: : - xinetd.d/ftp 의 설정
: :
: : [uiyam@localhost xinetd.d]$ cat ftp
: : # default: on
: : # description: The proftp server serves telnet sessions; it uses
: : #       unencrypted username/password pairs for authentication.
: : service ftp
: : {
: :         disable = no
: :         flags           = REUSE
: :         socket_type     = stream       
: :         wait            = no
: :         user            = root
: :         server          = /usr/local/sbin/in.proftpd
: :         log_on_failure  += USERID
: : }
: : [uiyam@localhost xinetd.d]$ 
: :
: :
: :
: : - /usr/local/etc/proftpd.conf 의 설정
: :
: : [uiyam@localhost etc]$ ls -al
: : 합계 12
: : drwxr-xr-x    2 root     root         4096  4월 20 16:06 .
: : drwxr-xr-x   16 root     root         4096  4월 19 22:31 ..
: : -rw-r--r--    1 root     root         1913  4월 20 16:06
proftpd.conf
: : [uiyam@localhost etc]$ clear
: : [uiyam@localhost etc]$ cat 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                      "U1Y4m Linux Box -- W31C0M3
3v3rY80DY --"
: : ServerType                      inetd
: : # 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                           ftp
: :  Group                          ftp
: :
: : # 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                    5
: :
: :
: : # http://proftpd.oops.org/ Reference Config!! 
: : # Date : 2002. 04. 20
: :
: : <Directory *>
: :   <Limit WRITE>
: :     DenyAll
: :   </Limit>
: : </Directory>
: : <Directory incoming>
: :   <Limit READ WRITE>
: :     DenyAll
: :   </Limit>
: :   <Limit STOR>
: :     AllowAll
: :   </Limit>
: : </Directory>
: :                                 
: :
: :   # We want 'welcome.msg' displayed at login, and '.message'
displayed
: :   # in each newly chdired directory.
: :   DisplayLogin                  /pub/welcome.msg
: :   DisplayFirstChdir             .message
: :
: :   # Limit WRITE everywhere in the anonymous chroot
: : #  <Limit WRITE>
: : #    DenyAll
: : #  </Limit>
: :
: : </Anonymous>
: :
: :
: :
: : - Anonymous 유저 ftp 설정
: :
: : [uiyam@localhost etc]$ cat /etc/passwd | grep ftp
: : # ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
: : ftp:x:501:501::/home/ftp:/sbin/nologin
: : [uiyam@localhost etc]$ cat /etc/group | grep ftp
: : # ftp:x:50:root,ftp,uiyam
: : ftp:x:501:
: :
: :
: : 정말 많은 자료를 뒤졌습니다..,
: :
: : 뭐가 틀린지 이젠 모르겠습니다..,.
: :
: : 답변 주시면.., 감사하겠습니다...,
: :
: : 즐거운 하루 되십시오~~~~!!
: :
: : --
: : 즐겁고, 여유있는 세상을 향해.. 아쨔~~
 --
즐겁고, 여유있는 세상을 향해.. 아쨔~~
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved