User passwords like "Pa55w0rd!&" fail to be set.
Bug #1404533 reported by
Adrian Vladu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloudbase-init |
Fix Released
|
Medium
|
Alessandro Pilotti |
Bug Description
If a user password that contains a '&' in it is being sent via the metadata service, then the password fails to be set.
For example: Pa55w0rd!& fails to be set as it is, the '&' character is stripped out.
The problem is that the string escaping is not performed for Windows cmd here:
https:/
https:/
summary: |
- User passwords like "Pa55w0rd!&" fails to be set. + User passwords like "Pa55w0rd!&" fail to be set. |
Changed in cloudbase-init: | |
status: | New → Triaged |
importance: | Undecided → High |
importance: | High → Medium |
Changed in cloudbase-init: | |
assignee: | nobody → Alessandro Pilotti (alexpilotti) |
Changed in cloudbase-init: | |
status: | Triaged → In Progress |
Changed in cloudbase-init: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Btw I want to replace since a while that "net user add" with:
[ADSI] ("WinNT: //./Administrat or,user" )
This will also solve any password escaping issue.