Sudo privileges are required for staging and target hosts for mounting data volume of HANA over NFS.

  1. For RHEL, edit /etc/sudoers file and make the following changes:

    1. Use superuser privilege for  ‘visudo’ utility to open the /etc/sudoers file.

    2. Append ‘hdbadm      ALL=(ALL)       NOPASSWD: ALL’  this is assuming the hana admin user is “hdbadm”

    3. Update ‘requiretty’ as ‘!requiretty’.

    4. Update ‘!visiblepw’ as ‘visiblepw’.

    2.  For SUSE linux, we only need to do the following changes to /etc/sudoers:

    1. Use superuser privilege for  ‘visudo’ utility to open the /etc/sudoers file.

    2. Append ‘hdbadm      ALL=(ALL)       NOPASSWD: ALL’  this is assuming the hana admin user is “hdbadm”

Example of the entry in /etc/sudoers file is as below:

hdbadm          ALL=(ALL)       NOPASSWD: ALL

Defaults   visiblepw

Defaults    !requiretty

Related Links