| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-01-15 | cc_set_passwords: Fix regex when parsing hashed passwords | Marlin Cremers | |
| Correct invalid regex to match hashes starting with the following: - $1, $2a, $2y, $5 or $6 LP: #1811446 | |||
| 2018-04-20 | set_passwords: Add newline to end of sshd config, only restart if updated. | Scott Moser | |
| This admittedly does a fairly extensive re-factor to simply add a newline to the end of sshd_config. It makes the ssh_config updating portion of set_passwords more testable and adds tests for that. The new function is in 'update_ssh_config_lines' which allows you to update a config with multiple changes even though only a single one is currently used. We also only restart the ssh daemon now if a change was made to the config file. Before it was always restarted if the user specified a value for ssh_pwauth other than 'unchanged'. Thanks to Lorens Kockum for initial diagnosis and patch. LP: #1677205 | |||
