摘要: 1、编写脚本selinux.sh,实现开启或禁用SELinux功能 #!/bin/bashconf="/etc/selinux/config" case "$1" in on) sed -ir 's/SELINUX=.*/SELINUX=enforcing/' $conf;; off) sed -i 阅读全文
posted @ 2020-08-17 09:19 狼牙山 阅读(69) 评论(0) 推荐(0) 编辑