>> Edit article
이름
제목
패스워드
기본 설정은 맞는것 같습니다. 혹시 /etc/ftpusers라는 파일에 anonymous,나 ftp 가 등록 되어 있는지 확인 하시기 바랍니다 그파일에 기록된 유저들은 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: : : : 정말 많은 자료를 뒤졌습니다.., : : 뭐가 틀린지 이젠 모르겠습니다..,. : : 답변 주시면.., 감사하겠습니다..., : : 즐거운 하루 되십시오~~~~!! : : -- : 즐겁고, 여유있는 세상을 향해.. 아쨔~~--이 곳에 서명을 적어주십시오. ftp
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved