vsftp 를 데비안 우디에서 돌리는데요...디렉토리문제

punking의 이미지

우디에서 vsftp 를 돌리는데요
사용자들이 자기 홈 말구 다른상용자 홈뿐만아니라 etc/ 까지..접근 가능하네요
분명..설정이 있을 텐데..초보라..알수 ㅇ없네요..

santana의 이미지

man vsftpd.conf를 참조하시면 될 것 같습니다.

특히 아래 부분을..

chroot_list_enable

If activated, you may provide a list of local users who are placed in a chroot() jail in their home directory upon login.
The meaning is slightly different if chroot_local_user is set to YES. In this case, the list becomes a list of users which are NOT to be placed in a chroot() jail.
By default, the file containing this list is /etc/vsftpd.chroot_list, but you may override this with the chroot_list_file setting.

Default: NO

chroot_local_user
If set to YES, local users will be placed in a chroot() jail in their home directory after login.
Warning: This option has security implications, especially if the users also have shell access.
Only enable if you know what you are doing.

Default: NO

제발 좀 긍정적인 마음가짐으로...

punking의 이미지

정말 감사 합니다.
짐작은 했는데.....