환경

 - Ubuntu 18.04.6 LTS

 

U-17(상) 

2.13 $HOME/.rhosts, hosts.equiv 사용 금지

 

#판단기준

1. /etc/hosts.equiv 파일과 $home/.rhosts 파일의 소유자가 root 혹은 해당 계정인가?

2. /etc/hosts.equiv 파일과 $home/.rhosts 파일의 권한이 600이하인가?

3. /etc/hosts.equiv 파일과 $home./.rhosts 파일에 '+' 설정이 되어있는가?

 

#사유

1. 원격접소 관련해서 비인가자가 파일에 접근할 경우 시스템에 접근할 수 있어서이다.

 

#script 작성

 

#실행결과

 

 

출처 : https://krcert.or.kr/data/guideView.do?bulletin_writing_sequence=35988

+ Recent posts