'OS'에 해당되는 글 11건

  1. 2014.10.08 [centOS] VSFTPD 500 OOPS: cannot change directory 에러 발생시

[증상]

# ftp localhost
Connected to CMMOBIGEN.
220 (vsFTPd 2.2.2)
530 Please login with USER and PASS.
Name (localhost:root): babo
331 Please specify the password.
Password:
500 OOPS: cannot change directory:/home/babo
Login failed.


[해결책]

setsebool 을 이용하여 FTP접속시 디렉토리 접근을 할수 있게 변경

#setsebool -P ftp_home_dir 1

#service vsftpd restart

#setsebool -P ftpd_disable_trans 1


Posted by 살찐루어

댓글을 달아 주세요