3 ms·
passwd -d destroys the ability to a) log in from a console and b) to use sudo, which might well be a dealbreaker for most people. Disallowing password auth in y
by robmil 14y ago
passwd -d destroys the ability to a) log in from a console and b) to use sudo, which might well be a dealbreaker for most people. Disallowing password auth in your sshd_config is typically a better option.
- thaumaturgy 14y agoIt doesn't prevent you from using sudo if you've set NOPASSWD: for the appropriate commands in your sudoers file.