UID configuration for Hyperscale users
This section provides instructions to change the UID of an existing VM user to the required UID 65436.
-
Log in to the VM using the root user or any other user with sudo privileges.
If required, you can create a temporary administrative user:-
sudo adduser tempadmin
-
sudo usermod -aG sudo tempadmin
-
ssh tempadmin@<hyperscale-vm>
-
-
Terminate all active processes of the target user for example, delphix:
Copy
sudo pkill -u delphix
-
Change the UID of the target user to 65436:
Copy
sudo usermod -u 65436 delphix
-
Update ownership of files from the old UID (replace 1001 with original UID):
Copy
sudo find / -user 1001 -exec chown -h 65436 {} \;
-
(Optional) Remove the temporary admin user:
Copy
sudo deluser --remove-home tempadmin
-
Log in as the updated user and verify the UID:
Copy
id
Ensure the UID is now set to 65436.