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:
Log into the CLI using delphix_admin or a user with Admin privileges and got to 'Host'.
BASHssh admin@yourengine yourengine > host
Select
privilegeElevation
thenprofile.
BASHyourengine host > privilegeElevation yourengine host privilegeElevation > profile
Set the name of the profile and the version of the profile.
BASHyourengine host privilegeElevation profile *> set name=<profilename> yourengine host privilegeElevation profile *> set version=<profileversion>
Commit the profile to save it.
BASHyourengine 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.
Log into the CLI using delphix_admin or a user with Admin privileges and got to 'Host'.
BASHssh delphix_admin@yourengine yourengine > host
Select
privilegeElevation
thenprofileScript.
BASHyourengine host > privilegeElevation yourengine host privilegeElevation > profileScript
Create your script by setting, name, contents, and profile (this can be your previously created profile or the default sudo).
BASHyourengine 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>
Commit to save.
BASHyourengine host privilegeElevation profileScript *> commit