|
|
|
|
|
by ohlol
6154 days ago
|
|
re: 1) sudo NO PASSWD... So the problem I have with this is that it collides with using Puppet to manage your users--Puppet will have to know about the users' Unix passwords. It should be fairly straightforward to write a script that tests for SSH keypairs with an empty passphrase, simply try to authenticate an SSH agent by loading the user's key. |
|
You can probably write a script that searches for empty-phrase keypairs, but this would be a client side thing. The private key is not disclosed to the server, and all operations involving the private key happen post-decoding, so this is unenforceable server-side. It would be an interesting policy/hygiene enforcement tool but would be of little or no use for security purposes.