Changing an Evironment User using the CLI
1. ssh into your engine using Admin privileges
2. Go to Environment and find the Environment you would like to update
delphix > environment delphix environment > ls delphix environment > select test_env
3. Select Environment updating and Update
delphix environment "test_env" > update delphix environment "test_env" update *> ls
primaryUser to new user you would like to use for the Environment
delphix environment "test_env update" *> set primaryUser=<new user>
5. Commit the change
delphix environment "test_env" update *> commit
ssh delphix_admin@delphix delphix > environment delphix environment > ls Objects NAME DESCRIPTION Demo Children oracle user Operations create delphix environment > select Demo delphix environment "Demo" > update delphix environment "Demo" update *> ls Properties type: UnixHostEnvironment name: Demo description: primaryUser: delphix delphix environment "Demo" update *> set primaryUser=<new user> delphix environment "Demo" update *> commit
Changing an Environment User using the GUI
- Log into the Delphix Admin application using Delphix Admin credentials.
- Select Manage > Environments.
- In the Environments panel, click on the name of an environment to open the environment information screen.
- Under Basic Information, click the green Plus icon to add a user.
Enter the Username and Password for the OS user in that environment.
Using Public Key Encryption
- If you want to use public key encryption for logging into your environment, select Public Key for the Login Type, and then click View Public Key.
- Copy the public key that is displayed, and append it to the end of your
~/.ssh/authorized_keysfile. If this file does not exist, you will need to create it.
chmod 600 authorized_keysto enable read and write privileges for your user.
chmod 755 ~to make your home directory writable only by your user.
- The public key needs to be added only once per user and per environment.
You can also add public key authentication to an environment user's profile by using the command line interface, as explained in the topic CLI Cookbook: Setting Up SSH Key Authentication for UNIX Environment Users
- Click the Check icon to save your new user.
- Click the Pencil icon next to Environment Users to change the primary user for this environment.
- Click the Trash Can icon next to a username to delete that user.