Project

General

Profile

Actions

Bug #23002

open

“Users” technique : Creating a user speficying the same group name as the user causes an error

Added by Michel BOUISSOU about 1 year ago. Updated 15 days ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Techniques
Target version:
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.


Related issues 1 (1 open0 closed)

Related to Rudder - Bug #23001: Double error message for “Users” technique cause compliance status to display “unexpected”NewActions
Actions

Also available in: Atom PDF