YesYo.com MintState Forums
뒤로    YesYo.com MintState BBS > Tech > Linux
검색
멤버이름    오토
비밀번호 
 

vsftp에서 상위디렉토리로 이동못하게 하기

페이지 정보

작성자 MintState 댓글 0건 조회 18,179회 작성일 09-01-05 11:47

본문

vsftp에서 상위디렉토리로 이동못하게 하기 

/etc/vsftpd.conf 를 열어 필요한 옵션의 주석을 제거합니다.
anonymous_enable=YES      <- anonymous 가능
local_enable=YES <- 일반 user의 접근 가능
write_enable=YES <- 쓰기 가능

local_umask=022 <- 업로드시 group 과 other 의 읽기 가능

anon_upload_enable=YES <- anonymous 업로드 가능 (관련링크 참조)
ascii_upload_enable=YES <- ASCII 파일 업로드 가능
ascii_download_enable=YES <- ASCII 파일 다운로드 가능
chroot_local_user=YES <- FTP 로그인시, 최상단 디렉토리를 해당유저의 홈계정 안으로 제한
chroot_list_enable=YES <- 유저명이 기입된 리스트의 사용을 활성화
chroot_list_file=/etc/vsftpd.chroot_list <- 유저 리스트의 파일명을 명시 !!! 주의사항 !!! *
chroot_local_user=YES 일 경우, 유저리스트에 기입된 유저: 홈계정 제한을 풀어줄 유저를 의미 *
chroot_local_user=NO 일 경우, 유저리스트에 기입된 유저: 홈계정 제한을 가할 유저를 의미 (혼동하지 않으시길 :-)

/etc/init.d/inetd restart (또는 kill -HUP INETD's_PID)해서 inetd 서버를 재시동하면 vsftpd 가 작동합니다.

출처:데비안사용자모임

댓글목록

등록된 댓글이 없습니다.

Total 360건 3 페이지
Linux 목록
번호 제목 글쓴이 조회 날짜
320 MintState 17915 01-05
319 MintState 22743 01-05
318 MintState 19356 01-05
317 MintState 17775 01-05
316 MintState 25829 01-05
315 MintState 21347 01-05
314 MintState 17479 01-05
313 MintState 14717 01-05
312 MintState 17226 01-05
311 MintState 17396 01-05
310 MintState 18956 01-05
309 MintState 16954 01-05
308 MintState 39125 01-05
307 MintState 16245 01-05
306 MintState 16247 01-05
열람중 MintState 18180 01-05
304 MintState 11887 01-05
303 MintState 10543 01-05
302 MintState 18196 01-05
301 MintState 16250 01-05
게시물 검색
모바일 버전으로 보기
CopyRight ©2004 - 2024, YesYo.com MintState. ™