You are not logged in.
I do a fresh install on a new laptop a few days ago. Since I heard that systemd has something call systemd-homed, I decide to try to create a new user using that feature. The user was created with "60175" uid and gid. That looks weird but I guess that's how systemd-homed behaves. After that, I found that the user didn't show up on the SDDM and System Setting > Account Detail > User Manager. I already fix the one in SDDM by increasing the allowed uid but I cannot find anything that is related to User Manager.
Any help is appreciated, thank you.
Last edited by renodesper (2020-07-11 15:37:33)
Offline
6000 is the "usual" upper limit. I'm assuming systemd-homed intentionally picks something higher so traditional user management means don't manipulate it using wrong expectations?
See https://www.freedesktop.org/software/sy … mectl.html as well, I'm fairly certain this is entirely intentional, these User management tools would change stuff in /etc/passwd instead which they explicitly shouldn't.
In particular
--uid=UID
Takes a preferred numeric UNIX UID to assign this user. If a user is to be created with the specified UID and it is already taken by a different user on the local system then creation of the home directory is refused. Note though, if after creating the home directory it is used on a different system and the configured UID is taken by another user there, then systemd-homed may assign the user a different UID on that system. The specified UID must be outside of the system user range. It is recommended to use the 60001…60513 UID range for this purpose.
Last edited by V1del (2020-07-07 15:20:42)
Offline
Okay, so it is indeed intentional. Is the only way to resolve this is by changing the uid of the user? Or is the Account Manager has some configuration that I can update to allow the current uid?
Offline
I just found out that updating the uid of user will not work. It doesn't fail and yet when I restart, the uid is still the same and the user is still missing from User Manager. So, I guess I can only recreate the user.
Offline
For now, I try to use the user that was created using the "useradd" command. It looks like the issue is only happening when using system-homed.
Offline