SetGID ::
1. # mkdir /opt/test1
2. # chmod 2770 /opt/test1
3. # chgrp engineers /opt/test1
2015年11月12日 星期四
NTP 網路校時
CentOS7/RHEL7
可參考資料:http://technote.aven-network.com/821/using-chrony-adjust-clock
- # yum install -y chrony
- # vim /etc/chrony.conf server 1.1.1.1 iburst
- # systemctl enable chronyd.service
- # systemctl start chronyd
- # chronyc sourcestats
2015年11月10日 星期二
CentOS/RHEL7 的 SELinux 運作說明與設定
章節目標:
- SELinux 基本運作方式說明!
- 說明 Centos 7 上的 SELinux 運作與設定方式!
- 設定檔:/etc/sysconfig/selinux
- SELINUX=enforcing
- SELINUX=permissive
- SELINUX=disabled