摘要:
/etc/init.d/iptables stop 阅读全文
posted @ 2019-02-25 17:29
todayORtomorrow
阅读(125)
评论(0)
推荐(0)
摘要:
visudo 可以给用户添加命令权限 修改、etc/ssh/sshd_config Port 远程访问端口号 PermitRootLogin 是否允许root账户远程登录 PermitEmptyPasswords 是否允许无密码登录 UseDNS 是否对用户反向主机名进行反向解析,以此检查主机名是否 阅读全文
posted @ 2019-02-25 17:24
todayORtomorrow
阅读(123)
评论(0)
推荐(0)
摘要:
LANG=en for yxw in `chkconfig --list |grep "5:on"|grep -Ev "sshd|crond"|awk "{print $1}"`; do chkconfig $yxw off 5; ///5指应用级别 done chkconfig --list ss 阅读全文
posted @ 2019-02-25 16:26
todayORtomorrow
阅读(279)
评论(0)
推荐(0)
摘要:
grep 作为三剑客的老三 -v 排除 -E 多个匹配 egrep扩展的 -i 忽略大小写 -o 精确匹配 grep -Ei "a|b" ll.txt grep -Eo "a+b" ll.txt 阅读全文
posted @ 2019-02-25 16:19
todayORtomorrow
阅读(148)
评论(0)
推荐(0)

浙公网安备 33010602011771号