원인 파악은 차후에.. 일단은 해결 방법부터. -> selinux enabled 되어있어서 인듯..사용하지 않는 기능이라면 disabled로 바꾸자
RHEL 5.5 버전에서는 이상없이 잘 되던 ftp 접속이 RHEL 6.2 버전을 설치하고 계속 에러가 발생하였음..
구글링해서 일단 해결방법 먼저 적으면
root 계정으로 실행.
$> getsebool -a | grep ftp
allow_ftpd_anon_write --> off
allow_ftpd_full_access --> off
allow_ftpd_use_cifs --> off
allow_ftpd_use_nfs --> off
ftp_home_dir --> off 얘가 문제
ftpd_connect_db --> off
httpd_enable_ftp_server --> off
tftp_anon_write --> off
$> setsebool -P ftp_home_dir on
$> getsebool -a | grep ftp
allow_ftpd_anon_write --> off
allow_ftpd_full_access --> off
allow_ftpd_use_cifs --> off
allow_ftpd_use_nfs --> off
ftp_home_dir --> on
ftpd_connect_db --> off
httpd_enable_ftp_server --> off
tftp_anon_write --> off
'Server' 카테고리의 다른 글
SELinux 해제 disabled (0) | 2013.03.06 |
---|---|
RHEL 서버 시간동기화 ntpd (0) | 2013.02.28 |
redhat 에서 telnet 설정하기 (0) | 2013.02.20 |
rhel OS 설치후 새로운 디스크 마운트 (0) | 2013.02.13 |
redhat 마운트 이름 변경 mount, umount, e2label 사용 (0) | 2013.02.12 |