Adding a local user with custom UID and GID

jtremblay

Dabbler
Joined
Sep 13, 2022
Messages
11
I'm trying to add my "backuppc" user as a local user with custom uid and gid but the UI doesn't allow me to set\change the gid. when I edit the /etc/passwd and /etc/group the change isn't reflected in the UI. is there a process for this?
 

tprelog

Patron
Joined
Mar 2, 2016
Messages
297
You can workaround this by first creating the custom group with desired GID - Then create the user with desired UID and set the user's group to the one you've previously created
 
Top