我最近在http://archives.neohapsis.com/archives/openbsd/2005-03/2878.html 上发现了一个反对在 Linux 中禁用 root 用户登录的论点
我认为,如果每个人都使用公钥身份验证,则不会有丢失 root 密码的风险。
通过 ssh 禁用 root 登录总是更好吗?
security linux ssh
我已经阅读了几次以使用另一个用户禁用 root 登录和 sudo 作为 root。
但是,如果不是更好的安全性,使用公钥是否也一样好?
security linux root
linux ×2
security ×2
root ×1
ssh ×1