一、SELinux简介 1、selinux(Security-Enhanced Linux)是美国国家安全局(NSA)和SCC开发的Linux的一个强制访问控制的安全模块。selinux是一种基于 强制访问控制(MAC)安全系统。 2、Linux访问方式: 1)DAC自主访问控制:完全依赖于Linux系统权限的设置(rwx); 2)MAC强制访问控制:
注意:本案例使用的是Linux系统中的ntp服务,来进行网络时间同步。1、手动更新Linux系统时间执行/usr/sbin/ntpdate ntp.api.bz命令通过网络更新时间#查找ntpdate命令的路径,如果没有此命令则需要安装此命令 [root@mysql-master /]# which ntpdate /usr/bin/which: no&nb
一、临时生效,重启服务器后就会失效命令语法:hostname新主机名提示:用hostname命令修改主机名后,需要退出当前用户重新登录后才可以生效。例1:[root@localhost/]#cat/etc/redhat-releaseCentOSLinuxrelease7.2.1511(Core)[root@localhost/]#hostnamelocalhost[root@localhost/
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号