Skip to main content
Skip table of contents

CLI cookbook: how to create or edit a privilege elevation profile and profile scripts

Background:

If you are running a version prior to 6.0.0 please contact your Professional Services representative.

Procedure for creating an elevation profile:

  1. Log into the CLI using delphix_admin or a user with Admin privileges and got to 'Host'.

    BASH
    ssh admin@yourengine
    yourengine > host
  2. Select privilegeElevation then profile. 

    BASH
    yourengine host > privilegeElevation
    yourengine host privilegeElevation > profile
  3. Set the name of the profile and the version of the profile.

    BASH
    yourengine host privilegeElevation profile *> set name=<profilename>
    yourengine host privilegeElevation profile *> set version=<profileversion>
  4. Commit the profile to save it.

    BASH
    yourengine host privilegeElevation profile *> commit

Procedure for creating a profileScript

Please note that you will need to create the script yourself or with the help of the Professional Services team.

  1. Log into the CLI using delphix_admin or a user with Admin privileges and got to 'Host'.

    BASH
    ssh delphix_admin@yourengine
    yourengine > host
  2. Select privilegeElevation then profileScript. 

    BASH
    yourengine host > privilegeElevation
    yourengine host privilegeElevation > profileScript
  3. Create your script by setting, name, contents, and profile (this can be your previously created profile or the default sudo).

    BASH
    yourengine host privilegeElevation profileScript > create
    yourengine host privilegeElevation profileScript *> set name=<scriptname>
    yourengine host privilegeElevation profileScript *> set contents=<your script>
    yourengine host privilegeElevation profileScript *> set profile=<yourprofile>
  4. Commit to save.

    BASH
    yourengine host privilegeElevation profileScript *> commit
JavaScript errors detected

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

If this problem persists, please contact our support.