Actions
Bug #23002
open“Users” technique : Creating a user speficying the same group name as the user causes an error
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
It bothers me each time
User visibility:
First impressions of Rudder
Effort required:
Priority:
104
Name check:
To do
Fix check:
To do
Regression:
No
Description
When creating a directive from the buitl-in “Users” technique :
- If specifying the same user's primary group name as the user name to be created, and neither the user nor group exists, the user creation ends in error (cannot create user because the group doesn't exist).
Where Linux “useradd” defaults, if the group is not specified at all, would be to create both the user and a group with the same name, on most if not all Linux distributions.
Desired behaviour :
- If the technique id used to create a user with a primary group of the same name, and the group dosen't exist yet, the technique should default to create both the user and group, as it would if the group name was not specified at all.
Actions