UID configuration for Hyperscale users

This section provides instructions to change the UID of an existing VM user to the required UID 65436.

  1. 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:

    1. sudo adduser tempadmin

    2. sudo usermod -aG sudo tempadmin

    3. ssh tempadmin@<hyperscale-vm>

 

  1. Terminate all active processes of the target user for example, delphix:

Copy
sudo pkill -u delphix
  1. Change the UID of the target user to 65436:

Copy
sudo usermod -u 65436 delphix
  1. Update ownership of files from the old UID (replace 1001 with original UID):

Copy
sudo find / -user 1001 -exec chown -h 65436 {} \;
  1. (Optional) Remove the temporary admin user:

Copy
sudo deluser --remove-home tempadmin 
  1. Log in as the updated user and verify the UID:

Copy
id

Ensure the UID is now set to 65436.