redhat6 Enterprise 용 vsftpd 주소

http://rpm.pbone.net/index.php3/stat/4/idpl/15994799/dir/scientific_linux_6/com/vsftpd-2.2.2-6.el6_0.1.x86_64.rpm.html


SELinux가 설치된 경우 vsftpd 설치 후 로그인하면

500 OOPS: cannot change directory:/home/*******           <---- *****는 로그인하는 계정명입니다.

위와 같이 에러가 발생하면서 ftp에 로그인이 안됩니다.

 

이럴경우 setsebool 을 이용하여 ftp 부분의 설정을 변경해 주시면 됩니다.

 

setsebool -P ftp_home_dir 1

 

이렇게 설정하면 ftp directory에 대한 접근이 가능합니다.

 

-P 옵션은 리부팅 후에도 그 설정값을 유지하도록 합니다.

 

설정 변경시 데몬을 재시작 하셔야 합니다.


Posted by 배터리