by hnnh · 11y ago · 0 comments
That's only going to get you the user's password, not the root password.
An attacker might still bring an evil-su in addition to an evil-sudo, though. And even if you're logging into that root user only in an another tty, it seems like an unnecessary risk to share the password with LUKS.