Fetch user public key for server installation

Bug #367943 reported by Stas Sușcov on 2009-04-27
This bug affects 2 people
Affects Status Importance Assigned to Milestone
debian-installer (Ubuntu)

Bug Description

Binary package hint: debian-installer

I love installing Ubuntu server edition, but installing it asks a password for the user it will create.
Even if I'm always using public key authentification.

I didn't find blueprints enabled for this packages, so I'll just describe what I would like from you right here.

The ideea is to connect/integrate somehow launchpad user details with the installation process. The first step and maybe the most beautiful feature would be to specify an email address or a public key ID to be fetched from launchpad's keyring. This key, after to be placed in new user's home .ssh/authorized_keys file.

The feature would make the installation process and further deployment of the system much easier and will save time.

The implementation could be done using a python script which can fetch the public key of the user' ID/email from launchpad. Launchpad team already released their launchpad api library for python, and it's pretty powerful. I was able to build a Postfix virtual for our loco members (http://bazaar.launchpad.net/~sushkov/ubuntu-ro/loco-scripts/files/head%3A/python/lp-to-virtual/ )

I know it's should be in wishlist, maybe I should try posting it to ubuntu ideas?


Joel Goguen (jgoguen) wrote :

Thank you for taking the time to report this bug and help make Ubuntu better. Unfortunately, what you are asking is not quite possible.

Users created must have a password, if only to allow console logins and sudo usage. You may choose to disable password logins for subsequent users, but even if you use private key authentication for the first user created a password is still required for sudo authentication.

As for the idea to pull down a public key from Launchpad, this may be possible, but you should submit the idea on Ubuntu Brainstorm at http://brainstorm.ubuntu.com/ where it can be discussed, voted on by the community and reviewed by developers.

Thanks again for taking the time to report this bug. Please continue to report any further bugs you find.

Changed in debian-installer (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers