diff options
author | Scott Moser <smoser@ubuntu.com> | 2011-08-29 20:26:17 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2011-08-29 20:26:17 -0400 |
commit | c7123a7f3bc08a2d45ce6b2d66107a669284e3f1 (patch) | |
tree | 019ba24b8da4ba9b549883f1de4b4f6ab12a02bd /ChangeLog | |
parent | 5e0edd8cf0a8431d453649037da913285e28850f (diff) | |
download | vyos-cloud-init-c7123a7f3bc08a2d45ce6b2d66107a669284e3f1.tar.gz vyos-cloud-init-c7123a7f3bc08a2d45ce6b2d66107a669284e3f1.zip |
improve updating of .ssh/authorized_keys
These changes update the .ssh/authorized_keys rather than simply appending
This is preferable as ssh daemon picks the first key that is present.
This fixes 2 issues where something had edited a .ssh/authorized_keys
prior to cloud-init getting at it.
a.) LP: #434076 a user prior to re-bundling
b.) LP: #833499 the hypervisor
If you want to enable ssh access for root user, the proper way to do it is
with 'disable_root: False' in cloud-config.
LP: #434076, #833499
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -44,6 +44,9 @@ This was done by changing all users of util.subp to have None input unless specified - Add some debug info to the console when cloud-init runs. This is useful if debugging, IP and route information is printed to the console. + - change the mechanism for handling .ssh/authorized_keys, to update entries + rather than appending. This ensures that the authorized_keys that are being + inserted actually do something (LP: #434076, LP: #833499) 0.6.1: - fix bug in fixing permission on /var/log/cloud-init.log (LP: #704509) |