SELinux 로 인한 ftp 접속 불가 문제

  • 등록 2017.07.12 09:58:48
크게보기

Aug  1 23:01:55 kosthb kernel: audit(1217599315.074:11): avc:  denied  { search } for  pid=2127 comm="vsftpd" name="/" dev=hda3 ino=
2 scontext=root:system_r:ftpd_t:s0 tcontext=system_u:object_r:home_root_t:s0 tclass=dir
Aug  1 23:04:16 kosthb kernel: audit(1217599456.948:12): avc:  denied  { search } for  pid=2234 comm="vsftpd" name="/" dev=hda3 ino=
2 scontext=root:system_r:ftpd_t:s0 tcontext=system_u:object_r:home_root_t:s0 tclass=dir
Aug  1 23:05:05 kosthb kernel: audit(1217599505.603:13): avc:  denied  { search } for  pid=2269 comm="vsftpd" name="home" dev=hda2 i
no=851137 scontext=root:system_r:ftpd_t:s0 tcontext=system_u:object_r:home_root_t:s0 tclass=dir


해결방법
1. setsebool ftpd_disable_trans 1
2. ftp 데몬 재시작
노랑배 kosthb@gmail.com
Copyright @2011 mediaon Corp. All rights reserved.

사이트에 관련하여 연락은 메일로 주세요. kosthb골뱅이gmail.com Copyright 2011 mediaon. All rights reserved.