Configuring sudo privileges for non-root user for AIX plug-in host

SnapCenter 4.4 allows a non-root user to install the SnapCenter Plug-ins Package for AIX and to start the plug-in process. You should configure sudo privileges for the non-root user to provide access to several paths.

Before you begin

About this task

You should configure sudo privileges for the non-root user to provide access to the following paths:

Procedure

  1. Log in to the AIX host on which you want to install the SnapCenter Plug-ins Package for AIX.
  2. Add the following lines to the /etc/sudoers file by using the visudo Linux utility.
    Cmnd_Alias HPPACMD = sha224:checksum_value== /home/AIXUSER
    /.sc_netapp/snapcenter_aix_host_plugin.bsx, 
    /opt/NetApp/snapcenter/spl/installation/plugins/uninstall, 
    /opt/NetApp/snapcenter/spl/bin/spl
    Cmnd_Alias PRECHECKCMD = sha224:checksum_value== /home/AIXUSER/.sc_netapp/AIX_Prechecks.sh
    AIXUSER ALL=(ALL) NOPASSWD:SETENV: SCCMD, PRECHECKCMD
    Defaults:AIXUSER !visiblepw
    Defaults:AIXUSER !requiretty

    AIXUSER is the name of the non-root user that you created.

    You can obtain the checksum value from the oracle_checksum.txt file, which is located at C:\ProgramData\NetApp\SnapCenter\Package Repository. If you have specified a custom location, the location will be custom_path\NetApp\SnapCenter\Package Repository.

    Important: The example should be used only as a reference for creating your own data.

After you finish

Best Practice: For security reasons, you should remove the sudo entry after completing every installation or upgrade.