1. 首页
  2. 数据库
  3. 其它
  4. 第十周作业

第十周作业

上传者: 2021-02-01 01:28:32上传 PDF文件 84.39KB 热度 8次
编写脚本selinux.sh,实现开启或禁用SELinux功能 vim /etc/init.d/selinux #!/bin/bash # # chkconfig: - 98 4 # description: selinux start|stop setenforce 0 &> /dev/null || setenforce 1 &> /dev/null if [ $? -ne 0 ];then echo The system is not start selinux.service exit fi if [ $# -ne 1 ];then
下载地址
用户评论