Skip to main content
Skip table of contents

CLI cookbook: how to change a Delphix user password

The default domain user created on Delphix Engines is now admin instead of delphix_admin. When engines created before 5.3.1 are upgraded to 5.3.1 or later they will retain their old username 'delphix_admin'. To avoid complications Delphix recommends creating users with an admin role and then Disabling delphix_admin.

  1. ssh into your engine with a user that has Admin privileges.

    CODE
    ssh admin@delphix
  2. Go to Users and select the User you would like to change the password of.

    CODE
    delphix > user
    delphix user > ls
    delphix user > select example_user
    delphix user "example_user" > ls
  3. Select updateCredentialto allow you to change the password and set a new password.

    CODE
    delphix user "example user" > updateCredential
    delphix user "example_user" updateCredential *> set newCredential.password=<new password>
  4. Commit the operation.

    CODE
    delphix user "example_user" updateCredential *> commit

    Example:

    CODE
    ssh admin@delphixengine
    delphixengine > user
    delphixengine user > ls
     
    Objects
    
    NAME           EMAILADDRESS  
    
    sysadmin       -
    
    admin  no@delphix.com
     
    test_user      no@delphix.com
    
    
    Operations
    
    create
    
    current
     
    delphixengine user > select test_user
    delphixengine user "test_user" > ls
     
    Properties
    
        type: User
    
        name: test_user
    
        authenticationType: NATIVE
    
        credential:
    
            type: PasswordCredential
    
            password: ********
    
        emailAddress: no@delphix.com
    
        enabled: true
    
        firstName: (unset)
    
        homePhoneNumber: (unset)
    
        isDefault: true
    
        lastName: (unset)
    
        locale: en_US
    
        mobilePhoneNumber: (unset)
    
        passwordUpdateRequested: false
    
        principal: test_user
    
        publicKey: (unset)
    
        reference: USER-2
    
        sessionTimeout: 30min
    
        userType: DOMAIN
    
        workPhoneNumber: (unset)
    
    
    
    
    Operations
    
    delete
    
    update
    
    disable
    
    enable
    
    updateCredential
     
    delphixengine user "test_user" > updateCredential
    delphixengine user "test_user" updateCredential *> set newCredential.password=<new password>
    delphixengine user "test_user" update *> commit
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.