Bug 389736

Summary: User Manager does not show my user after UID change using CLI tools
Product: [Applications] systemsettings Reporter: luca <luca.pedrielli>
Component: kcm_usersAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: grave CC: kde, nate
Priority: NOR    
Version First Reported In: 5.16.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description luca 2018-02-01 06:51:20 UTC
I changed user UID and GID from 1000 to 500 using usermod and groupmod.

sddm.conf, login.defs and adduser.conf changed for MIN/FIRST user UID.

System works great, but my user is no more listed in user-manager.
Comment 1 Nate Graham 2020-01-21 16:12:39 UTC
I wonder if there's any way for us to make user-manager notice this change. If not, maybe we should add a GUI setting for this in user-manager itself to provide a safe way of doing it.
Comment 2 David Edmundson 2020-02-13 19:54:20 UTC
AccountsService takes the minimum UID at build time

from meson_options.txt

option('minimum_uid', type: 'integer', value: 1000, description: 'Set minimum uid for human users')

If you change from your distro settings, you will need to rebuild this to match.

If you think this is an issue, please take it up with accountsservice on freedesktop.