예전에 몇번 책이나 여러사이트(http://proftpd.oops.org 같은) 설치방법이나 환경설정 예시를
보고 그대로 했는데...
다 실패했네요.(제가 생각해도 한심스럽지만)
리눅스 초보라 어디가 잘못되었는지..잘 모르겠구요.
좀 무식한 짓인건 알지만....
단순하더라도 확실하게 성공할수 있게 나타낸 사이트나 예를 올려주시면 안될까요??
(proftpd입니다)
아니면 좀 사이트에 접속해서 도움을 주셔도 좋구요.;;
(아직 아무것도 없는 컴퓨터라 해킹당해도 상관이 없거든요..;;)
아래 제가 건드려본 건데..혹시나 빠진것이나 잘못된것 있으시면 지적해주셔도 감사하구요.
(아 용도는 간단명료하게..저나..제 친구 몇명이 쓰는 간이 ftp서버입니다.)
-----------------------------------------------------------------
# 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 \"ProFTPD-Gguhyang\'s FTP\"
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).
\"/etc/proftpd/proftpd.conf\" [converted] 62L, 1677C 7,1 Top
# 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 \"ProFTPD FTP\"
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 under which the server will run.
User nobody
Group nobody
<Directory /*>
AllowOverWrite on
</Directory>
# To cause every FTP user to be \"jailed\" (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot ~
#ldentLookups off
UseReverseDNS off
# Normally, we want files to be overwriteable.
AllowOverwrite on
<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
DisplayFirstChdir .message
<Limit WRITE>
DenyAll
</Limit>
</Anonymous>
짧은글 일수록 신중하게.