Bug 373432

Summary: [User manager] - New users are not created
Product: [Plasma] user-manager Reporter: Nuno Costa <svckd>
Component: kcontrol moduleAssignee: Jonathan Riddell <jr>
Status: RESOLVED DUPLICATE    
Severity: normal CC: smoreau17
Priority: NOR    
Version: 5.8.4   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:

Description Nuno Costa 2016-12-08 17:55:58 UTC
The newly created user is not created on /etc/passwd nor is displayed on User Manager after finishing creation.

In previous versions, the new users weres created. The only issue was that the user with uid 1001 never appeared on User Manager but all users were created on /etc/passwd.

Same issue on a fully updated Arch box.
Comment 1 Nuno Costa 2016-12-09 13:25:26 UTC
Manually creating 4 users with command:
sudo useradd -m -G wheel,storage,power -s /bin/bash mytestuser

- create 2nd user.
- is shown on User Manager (UM) right after creation but on UM close and reopen, the user is no longer visible. It is present on /etc/passwd with uid 1001.
- create 3rd user
- is shown on UM and is present on /etc/passwd
- create 4th user
- is shown on UM and is present on /etc/passwd

Adding for example, the user Real Name using UM, triggers the dialog for sudo/root password and the change is seen on /etc/passwd

Removing user with UM works as expected(removing user from UM list and passwd file).
Comment 2 Nuno Costa 2016-12-09 13:56:51 UTC
Command mentioned on the previous comment was from my Arch box.
Using adduser on Neon will provide the same output.

uid 1001 user is available on sddm for login, on both Arch and Neon.
Comment 3 Serge Moreau 2016-12-09 17:04:56 UTC
The only way to get a new user using user-manager is to check the box admin for this user. In that case polkit display the window asking for your password and the new user is created with the expected rights.
Using Maui with Plasma 5.8.3
Comment 4 Christoph Feck 2016-12-12 21:06:14 UTC

*** This bug has been marked as a duplicate of bug 373276 ***