zoukankan      html  css  js  c++  java
  • selinux

    root@lujie ~]# vim /etc/sysconfig/selinux

    # This file controls the state of SELinux on the system.

    # SELINUX= can take one of these three values:

    #     enforcing - SELinux security policy is enforced.

    #     permissive - SELinux prints warnings instead of enforcing.

    #     disabled - No SELinux policy is loaded.

    #SELINUX=enforcing

    # SELINUXTYPE= can take one of these two values:

    #     targeted - Targeted processes are protected,

    #     mls - Multi Level Security protection.

    #SELINUXTYPE=targeted

    设置方法:

    1      #SELINUX=enforcing     #注释掉

    2      #SELINUXTYPE=targeted  #注释掉

    3      SELINUX=disabled  #增加

    4     :wq  #保存,关闭。

    5     shutdown -r now   #重启

    临时关闭selinux指令:setenforce 0

  • 相关阅读:
    /etc/fstab 文件解释
    CRLF和LF
    Git远程操作详解
    jsp错误处理
    jsp隐式对象
    关于循环队列要注意的
    JSP动作元素
    JSP指令
    jsp语法简介
    jsp声明周期
  • 原文地址:https://www.cnblogs.com/jtlin/p/5973976.html
Copyright © 2011-2022 走看看