diff --git a/src/modules/users/CreateUserJob.cpp b/src/modules/users/CreateUserJob.cpp index 9bd902ae3..453b0a8f1 100644 --- a/src/modules/users/CreateUserJob.cpp +++ b/src/modules/users/CreateUserJob.cpp @@ -130,8 +130,7 @@ CreateUserJob::exec() "-m", "-s", "/bin/bash", - "-g", - "users", + "-U", "-G", defaultGroups, m_userName } );