[Bug 434076] [NEW] if key exists in /root/.ssh/authorized_keys, disable_root setting has no effect

Scott Moser smoser at ubuntu.com
Mon Sep 21 15:31:03 UTC 2009


Public bug reported:

Binary package hint: ec2-init

As I mentioned in bug 407950, if a key registered to an ec2 instance
(ec2-run-instances --key <my_key>) already exists in
/root/.ssh/authorized_keys, then ec2-init's code to disable_root login
will have no effect.

The code will simply append to the file. In my testing, the first key
that matches is used by sshd, and thus the appended (disabled or
enabled) root keys will not change anything.

** Affects: ec2-init (Ubuntu)
     Importance: Low
         Status: New


** Tags: ec2-images uec-images

-- 
if key exists in /root/.ssh/authorized_keys, disable_root setting has no effect
https://bugs.launchpad.net/bugs/434076
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list