ftp 설정을 해줬는데 두가지 설정이 잘안먹힙니다.
글쓴이: khaic0c0 / 작성시간: 화, 2003/05/27 - 9:26오전
ftp 사용하기위해 계정으로 들어가면 /home/계정 그 이하는 못보게 하고싶은데...
root 까지 다 볼수 있습니다. 심지어 다운로드 까지 되는거 같은데...
자기계정만 보게끔 설정하려면 어떻게 해야 하나요?
DefaultRoot ~ 이렇게 해줬는데 안되더군요...
그리고 에디터 플러스로 계정로긴해서 들어가서
원하는 파일 불러다가 저장하려고 하면 OverWrite permission denied
라고 나옵니다...
<Directory /*>
AllowOverwrite on
</Directory>
이렇게 해주면 되는거 아닌가요?
제 ftp 설정 상태입니다.
참고해보시고 조언좀 부탁드립니다... ^^ 감사합니다.
제 ftp 는 proftpd 이고 1.2.8버전 이며 소스 컴파일입니다.
ServerName "Sunghee by service"
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
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~
# Normally, we want files to be overwriteable.
<Directory /*>
AllowOverwrite on
</Directory>
# 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 wellas "ftp"
UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
MaxClients 10 "Sorry, maxium users %m -- try again later"
MaxClientsPerHost 2 "Sorry, Over 2 connection not allow"
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message
RequireValidShell off
# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
<Directory incoming/*>
<Limit STOR CWD READ>
AllowAll
</Limit>
<Limit RMD DELE MKD>
DenyAll
</Limit>
</Directory>
</Anonymous>Forums:


[code:1]DefaultServer
이렇게 해보세요.
배우고 때때로 익히면, 또한 즐겁지 아니한가?
그래도 잘안되내요...
어딜 가든 필요한 인간되자~~ :-)
...
위와 같이 해 주는것이 맡구요....
앞에 내용쓰고 뒤에 붙일때 tab key로 이동한 상황에서 해 보세요..
그래서 안될때도 있었거던요...
그리고 defaultserver는 위에 한번한걸루 됬구요..
defaultroot 에서 ~ 하구 / 사이에 간격은 두면 안되고 붙여 주시구요...
아님 사용자가 많지 않으면 그냥
defaultroot ~ xxyyzz
이런식으로 특정 사용자에게만 설정할수 있습니다..
삶의 이탈을 꿈꾸며..
댓글 달기