[3.0][feature request] user management
Bug #2043194 reported by
ethan.hsieh
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Image |
Fix Released
|
Medium
|
Paul Mars |
Bug Description
User and default password can be created by cloud-init. But, for some devices with low performance cpu. It takes more than 2~3 minutes to create user and set password at first boot. ubuntu-image 3.x already supports user creation[1]. Could it support following features?
1. set default password
2. force users to reset password
Thanks~
---
[1] https:/
Changed in ubuntu-image: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Paul Mars (upils) |
tags: | added: foundations-todo |
Changed in ubuntu-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hello Ethan,
Do you know why cloud-init is taking so much time? Is this expected on a low performance CPU?
The customization section is intentionally limited in the ubuntu-image configuration because it was intended to solve simple cases and let users handle more complex cases with cloud-init or custom packages.
Implementing this feature would probably not be too complex but I fear it may confuse users by offering multiple ways to solve a single problem. @sil2100 what do you think?
In the meantime, I think you can use a manual customization (copy-file + execute) to create the user, set the password and force the reset. Be careful though, the "add-user" customization is the last customization executed, so you cannot use it to create the user and expect to do the rest in the "execute" customization.