10 2020 档案

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

点击右上角即可分享
微信分享提示