vsftpd 500 OOPS: vsftpd: refusing to run with writable root inside chroot()
About OS & ETC/Linux2016. 3. 4. 12:29
vsftpd 에러
#chroot_list_enable=YES
#chroot_list_file=/etc/vsftpd.chroot_list
chroot_local_user=YES
home 을 못 벗어나게 하고 싶을때 설정하는건데
그냥 주석만 없에면 잘되던 접속이 안된다.
you can choose one of 3 ways:
1. Define option local_root= in configuration file. must by /home or other path to directory with users folders. In this way vsftpd chrooting to /home directory.
2. Define option passwd_chroot_enable=yes in configuration file and change in /etc/passwd file user home directory from «/home/user» to «/home/./user» (w/o quotes).
In this way vsftpd chrooting to /home directory.
3. Download sources of vsftpd-ext, compile and overwrite exist vsftpd binaries or take it from repositories and add to configuration file option allow_writable_root=yes.
[Reference] : 더뿌, 「Issue거리 – vsftpd error 발생 시 (500 oops : vsftpd )」 http://182.209.70.20/?mid=IT&document_srl=564389.
뭔 소린고 하니
공통의 chroot 를 지정해주라는거다.
설정파일 열고 local_root= 를 설정해주면 된다 보통 /home
'About OS & ETC > Linux' 카테고리의 다른 글
우분투에 MiniDLNA 구성 + LG TV 재생 (0) | 2016.03.04 |
---|---|
Vim Vi 에서 ^M 지우기, 행끝의 캐럿 M 기호 제거 방법 (0) | 2016.03.04 |
특정폴더를 FTP 계정으로 링크 (0) | 2016.03.04 |
우분투 리눅스 처음 설치 후 할 일 (0) | 2016.03.04 |
윈도우에서 우분투 삼바서버로 파일생성시 한글 깨지는 문제 해결 (0) | 2016.03.04 |