Merge pull request #2675 from cstrahan/fix-useradd
Fix -G delimiter in call to useradd
This commit is contained in:
commit
1b0b0d3bb2
1 changed files with 1 additions and 1 deletions
|
@ -480,7 +480,7 @@ in {
|
|||
if ! id "${u.name}" &>/dev/null; then
|
||||
${pkgs.shadow}/sbin/useradd \
|
||||
-g "${u.group}" \
|
||||
-G "${toString u.extraGroups}" \
|
||||
-G "${concatStringsSep "," u.extraGroups}" \
|
||||
-s "${u.shell}" \
|
||||
-d "${u.home}" \
|
||||
${optionalString u.isSystemUser "--system"} \
|
||||
|
|
Loading…
Reference in a new issue