yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #82246
[Bug 1871879] [NEW] Configuring a user should not configure root's authorized_keys
Public bug reported:
When `ssh_authorized_keys` is configured in user-data key are
unconditionally copied into /root/.ssh/authorized_keys.
If `disable_root` is set to true it leaks the actual configured
username: "Please login as the user XYZ rather than the user root." With
`disable_root` is set to false you can login.
It would be great if there were a way to actually disable root and not
touch it at all. I fully understand that the info message is useful for
new users, but it would be great to have a way to leave root alone.
** Affects: cloud-init
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1871879
Title:
Configuring a user should not configure root's authorized_keys
Status in cloud-init:
New
Bug description:
When `ssh_authorized_keys` is configured in user-data key are
unconditionally copied into /root/.ssh/authorized_keys.
If `disable_root` is set to true it leaks the actual configured
username: "Please login as the user XYZ rather than the user root."
With `disable_root` is set to false you can login.
It would be great if there were a way to actually disable root and not
touch it at all. I fully understand that the info message is useful
for new users, but it would be great to have a way to leave root
alone.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1871879/+subscriptions
Follow ups