浏览代码

Ensure that motd gets locked down

Bob Mottram 7 年前
父节点
当前提交
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 {