Skip to main content
Delphix

Update environment user credentials without verification

Issue

 The Delphix environment password needs to be updated prior to the password being update on the target host. This is often the case when strict invalid password rules are in place on the target host, resulting in the UNIX account being locked due to too many failed login attempts. When this is the case the procedure for changing the password needs to be

  1. Update the password in the Delphix Engine.
  2. Update the password on the target host.
  3. Unlock the account on the target host.

 This process can be difficult for a customer to complete as changing the password via the GUI will perform a verification step, which will fail unless the password is changed on the target host first. However, if the password is changed on the target host first the account will often quickly become locked due to the environment monitor using the "old" password.

Resolution

 To get around this issue, the password can be reset using the CLI. When using the CLI no password verification step is performed.

delphix> environment
delphix environment> user
delphix environment user> ls
Objects
NAME
source/oracle
target/oracle
Operations
create
delphix environment user> select source/oracle
delphix environment user 'source/oracle'> ls
Properties
    type: EnvironmentUser
    name: source/oracle
    credential:
        type: PasswordCredential
        password: ********
    environment: source
    groupId: 54321
    reference: HOST_USER-1
    userId: 54321
Operations
delete
update
delphix environment user 'source/oracle'> update
delphix environment user 'source/oracle' update *> set credential.password
Enter credential.password:
delphix environment user 'source/oracle' update *>commit
  • Was this article helpful?