10 2020 档案
摘要:关闭selinux,不关闭时,iptables不读取配置文件 重启生效 centos7 中默认的防火墙是firewalld,使用iptables需要先关闭firewalld防火墙,安装iptables服务:yum -y install iptables-services iptables 是cent
阅读全文
摘要:1、创建一个普通用户 #useradd test 2、给test设置密码 #passwd test 3、禁用root远程登录 #vim /etc/ssh/sshd_config #PermitRootLogin yes 改成 PermitRootLogin No 4、重启sshd # systemc
阅读全文