groups syntax broken
Bug #1356208 reported by
Lukas
This bug report is a duplicate of:
Bug #1354694: useradd crashes if group list contains whitespace.
Edit
Remove
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Triaged
|
Medium
|
Unassigned | ||
cloud-init (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
When adding a user, the 'groups' keyword only works if multiple groups are given in useradd syntax, i.e. as a single string without spaces
groups: adm,sudo,cdrom
I'm guessing the value is passed directly to the --groups command line option of useradd.
Any of the more intuitive syntax forms (including the one in the documentation at http://
groups: [adm, sudo, cdrom]
groups: adm, sudo, cdrom
groups:
- adm
- sudo
Changed in cloud-init (Ubuntu): | |
importance: | Undecided → High |
Changed in cloud-init: | |
importance: | Undecided → Medium |
status: | New → Triaged |
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.