The only remaining issues per my comment 1 are:
a. ec2-init simply appends to /root/.ssh/authorized_keys for root. If the key
it is adding already exists in that file, then it disabling or enabling login
will have no effect.
b. Should disable_root be renamed to 'enable_root_via_ec2_ssh_key' or something
that more correctly/verbosely describes what it is doing?
c. There needs to be documentation for /etc/ec2-init/ec2-config.cfg
I've opened a bug (bug 434076) to address A. I'm closing this bug as
most issues raised have been fixed. Please feel free to open separate
bugs for 'b' and 'c' above.
** Changed in: ec2-init (Ubuntu)
Status: Confirmed => Fix Released
--
ec2-init: ec2-fetch-credentials "setup_root_user" code cleanup
https://bugs.launchpad.net/bugs/407950
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs