Bug 389736 - User Manager does not show my user after UID change using CLI tools
Summary: User Manager does not show my user after UID change using CLI tools
Status: RESOLVED UPSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_users (show other bugs)
Version: 5.16.4
Platform: Other Linux
: NOR grave
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-01 06:51 UTC by luca
Modified: 2020-02-13 19:54 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.