Delphix Products

Expand all | Collapse all

Are sesu/sesudo supported by Delphix?

Jump to Best Answer
  • 1.  Are sesu/sesudo supported by Delphix?

    Posted 04-25-2016 09:20:00 AM
    I'm trying to setup an environment that it's using sesu/susudo to manage
    privilege elevation profiles.
    Does Delphix support them?




  • 2.  RE: Are sesu/sesudo supported by Delphix?

    Posted 04-25-2016 09:27:00 AM
    Hi Thom, The short answer is yes, to get more info on that please follow this link https://support.delphix.com/hc/en-us/articles/206107217-KB099-Delphix-Sudo-Privilege-Elevation-Profiles-for-DelphixOS Regards, Mouhssine


  • 3.  RE: Are sesu/sesudo supported by Delphix?
    Best Answer

    Posted 04-25-2016 12:23:00 PM
    Hi Thom,

    Mouhssine pointed out a great KB, where you can find more information and some examples on how privilege elevation profiles scripts can be created.
    In the specific case of sesudo, you can use the following example of dlpx_pfexec script as a reference:

    # Copyright 2016 Delphix. All rights reserved.                      
    #                                                                   
    # - Read the password from stdin.                                   
    # - Execute the passed command with elevated privileges.            
    # - Output both stdout and stderr of the executed command to stdout.

    read passwd                                                         
                                                                       
    /usr/bin/sesudo "$@"                         
    response=$?                                                        
    if [ $response -ne 0 ]; then                                       
       echo "ERROR: Sesudo error ($response)"                          
       echo "$@"                                                       
       exit 1                                                          
    fi

    Please remember to double check all the security profiles and the permissions for the user you're trying to set up, as we found it's the most cause of issues.


  • 4.  RE: Are sesu/sesudo supported by Delphix?

    Posted 04-25-2016 12:32:00 PM
    Hi, Just one more important thing to notice, only delphix support have hand on accessing the delphix engine to modify or add the elevation priv you need. Regards, Mouhssine