【发布时间】:2018-07-23 11:10:28
【问题描述】:
我在我的 linux 服务器上安装了谷歌双重身份验证。
(感谢:https://github.com/google/google-authenticator-libpam)
当我尝试通过 ssh 访问 root 帐户时,身份验证器工作正常。
Verification code: .....
Password: ....
[root@hostname] works fine :)
但是!!访问其他用户帐户并尝试使用su 访问root 帐户,
验证器只需要密码。
[user@hostname] whoami
user
[user@hostname] su
password: .....
[root@hostname] What?!!!
我将所有配置设置为默认值。
我该如何解决??
【问题讨论】:
标签: authentication two-factor-authentication one-time-password