After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 795640 - Failed to add account running '/usr/sbin/useradd' failed: Child process exited with code 6
Failed to add account running '/usr/sbin/useradd' failed: Child process exite...
Product: gnome-control-center
Classification: Core
Component: User Accounts
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Reported: 2018-04-28 23:59 UTC by Leandro
Modified: 2018-05-10 07:25 UTC
See Also:
GNOME target: ---
GNOME version: ---

Screenshot (50.02 KB, image/png)
2018-04-28 23:59 UTC, Leandro

Description Leandro 2018-04-28 23:59:34 UTC
Created attachment 371506 [details]

Error occurred while trying to add an administrator user 

Operating System: Arch Linux 64 Bits 
GNOME Version: 3.28.1
Comment 1 Jeremy Bicha 2018-04-29 16:29:42 UTC
I am closing this bug because adding a new user works fine here. [1] There simply isn't enough information here to identify this a bug in gnome-control-center.

I suggest that you either report a bug to Arch Linux or try Arch Linux support channels.

[1] gnome-control-center 3.28.1 on Ubuntu 18.04 LTS
Comment 2 Strangiato 2018-05-01 13:11:07 UTC
I can confirm such problem on Arch Linux, Gnome 3.28.1. Reopen please.

I followed these steps on my system
create a new user account and remove it immediatelly (gnome settings crashed on my system when I clicked another section on left side of gnome settings after I remove just created account)
create a new account again: I got the error reported here.
Comment 3 Jeremy Bicha 2018-05-01 17:29:31 UTC
(In reply to Strangiato from comment #2)
> I can confirm such problem on Arch Linux, Gnome 3.28.1. Reopen please.

So far there are no reports of this issue on any distribution except Arch Linux and there is not enough information provided here for someone that does not use Arch Linux to identify the problem.

I suggest that you report this issue to Arch Linux.
Comment 4 Strangiato 2018-05-01 17:31:53 UTC
which info is needed to identify the problem?
Comment 5 Ondrej Holy 2018-05-02 06:10:09 UTC
Error code 6 means that "specified group doesn't exist" per "man useradd". useradd is called by accountsservice. ADMIN_GROUP and EXTRA_ADMIN_GROUPS are used as -G parameter of useradd. The constants are defined on build time:

So the accountsservice is probably built with some wrong parameters in Arch Linux, so best to discuss on Arch Linux support channels...
Comment 6 Strangiato 2018-05-02 12:43:19 UTC
Thank you Ondrej Holy.
Reported in Arch tracker
Comment 7 Luciano 2018-05-03 02:55:49 UTC
I confirm this error, the same thing happens here.

The problem is in GNOME

Fedora 28 64 Bits

GNOME: 3.28.1
Comment 8 Ondrej Holy 2018-05-03 07:33:56 UTC
It is problem with accountsservice, not gnome-control-center.

accountsservice has been recently updated to 0.6.47 in Fedora, which is the culprit. It is caused by

I am going to propose patch for it...
Comment 9 Ondrej Holy 2018-05-03 07:43:43 UTC
See the following bug for more details:
Comment 10 Felipe 2018-05-10 03:59:42 UTC
When will this error be fixed?
Comment 11 Ondrej Holy 2018-05-10 07:25:47 UTC
I've proposed patch for accountsservice, we can't do much here..