리눅스 분류
proftpd 설정 문의
작성자 정보
- 앵호 작성
- 작성일
컨텐츠 정보
- 1,928 조회
- 1 댓글
- 0 추천
- 목록
본문
ServerName "ProFTPD Default Installation"
ServerType standalone
DefaultServer on
# Port 21 is the standard FTP port.
Port 3391
# Don't use IPv6 support by default.
UseIPv6 off
# 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 nogroup
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~
# Normally, we want files to be overwriteable.
AllowOverwrite off
# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
DenyAll
</Limit>
# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<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
DisplayChdir .message
# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
</Anonymous>
RateReadHardBPS on
RateReadBPS 5
conf설정 파일입니다.
질문 1. DefaultRoot ~ // DefaultRoot ~ !root
등 2개 설정을 해보았습니다. 문제는 /home 상단이 모두 접속이 가능합니다..
/home에 계정설정한 부분만 보여주고 싶은대....
2번째는 RateReadHardBPS on
RateReadBPS 5 다운로드 속도제한을 걸고싶은대
임시로 설정을 했습니다. 하고 재시작을 할라그러면 콘프설정이 틀렸다고 나오네요...ㅠ
관련자료
-
이전
-
다음
댓글 1
수타님의 댓글
- 수타
- 작성일
흠..
User nobody
Group nobody
하시거나
HideUser root 소유권이 root인 file이나 디렉터리는 보여주지 않음.
HideGroup root 그룹권한 root인 file이나 디렉터리는 보여주지 않음
추가 시켜도 될걸요..
그리고,,아마..
RateReadBPS
RateReadFreeBytes
RateReadHardBPS on <==이놈이 빠져서..그런게 아닐까요??
한번 확인 해 보세요.
User nobody
Group nobody
하시거나
HideUser root 소유권이 root인 file이나 디렉터리는 보여주지 않음.
HideGroup root 그룹권한 root인 file이나 디렉터리는 보여주지 않음
추가 시켜도 될걸요..
그리고,,아마..
RateReadBPS
RateReadFreeBytes
RateReadHardBPS on <==이놈이 빠져서..그런게 아닐까요??
한번 확인 해 보세요.