vi /etc/vsftpd.conf 에서 상위디렉토리 이동을 제한하기 위해


#chroot_local_user=YES

#chroot_list_enable=YES

# (default follows)

#chroot_list_file=/etc/vsftpd/chroot_list


주석제거후에 데몬재시작후

ftp 접속하면


500 OOPS: could not open chroot() list file:/etc/vsftpd/chroot_list


이런 에러가 나온다.





해결,


/etc/vsftpd/ 디렉토리에 chroot_list 파일을 생성해주시면 됩니다.



'Linux, Apache' 카테고리의 다른 글

웹호스팅세팅후 퍼미션수정  (0) 2017.04.11
리눅스보안의 기본설정  (0) 2017.04.11
LINUX 서비스 데몬들  (0) 2017.04.11
imagemagick gd라이브러리설치  (0) 2017.04.11
파일 찾기 명령어 find  (0) 2017.01.26




+ Recent posts