Re:How to Set Up Two-Factor Authentication for Login and Sudo
by kianga on Monday May 16, 2016 @04:22AM
(#11704968)
If the TOTP secret key is stored in the user's home directory, then this only makes sense for login authentication, but not for sudo: an attacker with access to the user's terminal can simply replace the secret key and authenticate against the new one.
[ Parent
| on HN ]