티스토리 뷰

Proftpd 컴파일 설정


# ./configure --prefix=/usr/local/proftpd --enable-autoshadow --enable-shadow


--prefix=/usr/local/proftpd : proftpd 설치 경로 설정

--enable-autoshadow --enable-shadow: shadow 패스워드 지원


# make => make 컴파일 시작

# make install => 컴파일 완료후 설치


# vi /usr/local/proftpd/etc/proftpd.conf


proftpd.conf


ServerName              "proftpd FTP Server"

ServerType              standalone
DefaultServer           on
ServerAdmin             angel522@naver.com

UseReverseDNS           off
IdentLookups            off

ServerIdent             On "proftpd Account Server ready..."

Port                    21

RootLogin               off

<Global>
        Umask           022
        TimesGMT        off
        DenyFilter      \*.*/

        AllowForeignAddress on
        AllowRetrieveRestart    on
        AllowStoreRestart       on
</Global>

MaxClients              20
MaxClientsPerHost       6 "Sorry, %m connection allow per one host"

TimeoutIdle             300
TimeoutNoTransfer       0
TimeoutLogin            60

DeferWelcome            on

PassivePorts            49152 65534

User                    nobody
Group                   nobody

RequireValidShell       off

<Directory /*>
        AllowOverwrite  on
</Directory>


 

# /usr/lcoal/proftpd/sbin/proftpd <= 데몬실행 (메세지 없다면 실행된것임)


# echo /usr/local/proftpd/sbin/proftpd >> /etc/rc.d/rc.local <= 부팅시 자동실행

댓글
댓글쓰기 폼