소스 검색

Ensure that motd gets locked down

Bob Mottram 8 년 전
부모
커밋
2aa8db9684
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2
    0
      src/freedombone-utils-setup

+ 2
- 0
src/freedombone-utils-setup 파일 보기

646
         chmod -R 600 /etc/letsencrypt
646
         chmod -R 600 /etc/letsencrypt
647
         chmod -R g=rX /etc/letsencrypt
647
         chmod -R g=rX /etc/letsencrypt
648
     fi
648
     fi
649
+    chown -f root:root /etc/motd /etc/issue*
650
+    chmod -f 0444 /etc/motd /etc/issue*
649
 }
651
 }
650
 
652
 
651
 function disable_core_dumps {
653
 function disable_core_dumps {