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

등록 2002-04-23 14:50:00     조회 2
이름 U1Y4m    

		답변 고맙습니다.
 보니까.., 권한이 root 가 되어 있더군요..
 그래서 명령을 해서.., 바꿨습니다..,
 drwxr-xr-x    2 ftp      ftp          4096  4월 23 12:13 ftp
 이렇게 되었지만.., 여전히 같은 결과입니다..,
 이걸 적용시켜 줘야 하나요??
 디렉에 관한건.., 그냥 바로 인식 안 하나요??
 음..,   또 답변 기다리겠습니다.., ^^& 정말 고맙습니다..
   : /var 밑의 ftp계정의 owner와 group을 ftp로 바꿔 주셨나요?
: 접속은 된다면 계정의 권한에 따른 문제일듯 싶군요.
:
: chown -R ftp.ftp /var/ftp
:
: 하시면 되실듯......
:
: : 답변 고맙습니다.
: :
: : 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:
: : : :
: : : :
: : : : 정말 많은 자료를 뒤졌습니다..,
: : : :
: : : : 뭐가 틀린지 이젠 모르겠습니다..,.
: : : :
: : : : 답변 주시면.., 감사하겠습니다...,
: : : :
: : : : 즐거운 하루 되십시오~~~~!!
: : : :
: : : : --
: : : : 즐겁고, 여유있는 세상을 향해.. 아쨔~~
: :
: : --
: : 즐겁고, 여유있는 세상을 향해.. 아쨔~~
:
: --
: 나를 아는 모든 분께 용서를.......--즐겁고, 여유있는 세상을 향해.. 아쨔~~
이름
암호


>> 관련글
  답장 RE: RE: RE: Proftpd 설치했는데.., Anonymous가 안되네요.,    2002.04.23  ....
  답장 RE: RE: RE: RE: Proftpd 설치했는데.., Anonymous가 안되네요.,  U1Y4m  2002.04.23  ....
Register [ localhost 목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 1.11 초 ] 작업시간: [ 0.44 초 ]

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

적수네 동네
+
| 적수네 동네
| 공부방
| 리눅스 잡지 서고
| LSN 소스
| 링크 모음
+---+
게시판
+
| 떠들어보세!
| 질문과 답변
| 새소식과 정보
| 1원짜리 팁?
| 대화방
+---+
칼럼?
+
| 세하 훔쳐보기
| Welcome2nite
| 혜진의 염장판
+---+
리눅스 상표권
+
| 반대 서명란
| 토론 게시판
+---+
GNU
+
| GNU 선언문
| GNU GPL
| GNU 미러 목록
+---+
프로젝트?
+
| 리눅스카운터
| RC5DES
| 실질헌법 제작
+---+
커널 소식
+
| 안정 버젼: 2.4.14
+---+
테마 선택
+
LSN 방송국?
+
| OFF AIR
+---+
회원
+
| 로그인
+---+
[ 적수네 동네 ] [ 리눅스 상표권 독점 반대 ] [ 한글 리눅스 문서 프로젝트 ] [ KrLine ] [ 사랑넷 ] [ Valid HTML 4.0! ] [ SlashDot ] [ Freshmeat ]
Copyleft (C) 1998-2001 Byeong-Chan Kim . License
TIME: 1791584248
System by WYZsoft, HDD by I.O.Linux, Mizi Research, Embryo, WOWLINUX, Domain by SarangNet, Network by KrLine.