How to Change a USER and GROUP ID on Linux For All Owned Files
To change the user and group ID of all files owned by a specific user on Linux, you can use the chown command with the -R (recursive) option. Here’s an example: Open a terminal window. Run the following command to change the user ID (UID) of the user olduser to newuser: sudo chown -R newuser: … Read more