FS#58426 - [gnome-control-center] Error message when I try to create a new administrator user account

Attached to Project: Arch Linux
Opened by Strangiato (Strangiato) - Wednesday, 02 May 2018, 12:42 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 02 May 2018, 13:42 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Additional info:
* package version(s) gnome-control-center 3.28.1-1
* config and/or log files etc.


Steps to reproduce:
start gnome session
open Gnome-shell menu (right corner on top)
click your user name > account settings
click "unlock" button and enter your password
clck "add user" button on top
click "administrator" button and type the new username
click "Add" button on top
I get an error message
"Failed to add account
running '/usr/sbin/useradd' failed: Child process exited with code 6"
This task depends upon

Closed by  Doug Newgard (Scimmia)
Wednesday, 02 May 2018, 13:42 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#58396 
Comment by Strangiato (Strangiato) - Wednesday, 02 May 2018, 12:44 GMT
Already reported in Gnome tracker
https://bugzilla.gnome.org/show_bug.cgi?id=795640

Comment from dev Ondrej Holy
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:
https://cgit.freedesktop.org/accountsservice/tree/configure.ac#n39

So the accountsservice is probably built with some wrong parameters in Arch Linux, so best to discuss on Arch Linux support channels...

Loading...