주식회사 누리아이티

정보자산의 보안강화를 위한 3단계 인증 보안SW(BaroPAM) 전문기업인 누리아이티

▶ BaroSolution/오류 메시지

Failed to open tmp secret file .baro_auth~[error message]

누리아이티 2019. 2. 7. 15:46

현상 : Failed to open tmp secret file .baro_auth~[error message]
 

원인: 1. Redhat, CentOS인 경우 SELINUX를 비활성화하지 않아 보안문제로 막혀서 발생

         2.  임시 secret file .baro_auth~을 오픈하지 못한 경우에 발생.

 

조치: 1. "/etc/sysconfig/selinux"에서 SELINUX를 비활성화(SELINUX=enforcing disabled)

 

[root] /etc > vi /etc/sysconfig/selinux
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
#       targeted - Only targeted network daemons are protected.
#       strict - Full SELinux protection.
SELINUXTYPE=targeted
 
# SETLOCALDEFS= Check local definition changes
SETLOCALDEFS=0

 

바로 적용은 되지 않으며 재부팅을 해야 적용이 된다.

 

재부팅을 하지 않고 현재 접속된 터미널에 한해 변경된 내용을 적용하고 싶을 경우 다음의 명령어를 실행하면 된다.

 

[root] /etc > /usr/sbin/setenforce 0

 

         2. 임시 secret file .baro_auth~을 오픈하지 못한 이유는 error message를 확인.