0%

新建用户限制暴力ssh登录:vultr

2020年1月12日 下午4:01
拒绝ssh远程暴力破解_gammey的博客-CSDN博客

1
2
3
adduser czh66
passwd czh66
chmod -v u+w /etc/sudoers

修改 _etc_sudoers 文件,找到下面一行,在root下面添加一行,如下所示:

1
## Allow root to run any commands anywhere
root    ALL=(ALL)     ALL
czh66   ALL=(ALL)     ALL