Ubuntu change user id and group id

    how to change gid in linux
    how to change group id in linux
    how to change group gid in linux
    how to change primary group id in linux
  • How to change gid in linux
  • Groupmod change gid

  • Change gid of user
  • How to change gid of a user in linux
  • How to change uid and gid in linux
  • How to change user id in linux command
  • How to change gid of a user in linux...

    How can I change my own user ID?

    This is summed up, what at least since Ubuntu 20.04 is needed (for keeping to be able using Automounting, the change in Extended ACL permissions is needed):

    I wanted to change a user id and group id for example from default (uid=) 1000 (and gid=1000) to (uid=) 5000 (and gid=5000), so access to mobile drives formatted with ext4 or similar capable systems with uid & gid) are no problem, if the files and archives have the same user id or group id 5000, no matter if another computer or operating system writes data to this (this enables sharing files easily between computers if all the own users have the same uid and gid).

    First I created an additional user, logged as new user, changed in terminal with to the root and then I used the commands

    for changing user id and

    for changing group ID.

    (Take care: This changes the rights on all mounted devices. If not wanted, unmount all not desired or narrow the commands in the part to or else.)

    In Fedora this worked but not in Ubuntu totally. For example Automounting did not work.

    Then I read one has t