귀차니즘

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