vi /etc/ssh/sshd_config
DenyUsers root # 再sshd 配置文件底部写入禁止admin 远程sshd 登录
AllowUsers eisc root # 允许用户登录:eisc 和 root
systemctl restart sshd # 重启sshd 服务
普通用户添加 sudo 超级权限
再 /etc/sudoers 文件添加底部:
eisc ALL=(ALL) ALL
表示:eisc用户拥有sudo超级权限