Sudo privileges are required for staging and target hosts for mounting data volume of HANA over NFS.
For RHEL, edit /etc/sudoers file and make the following changes:
Use superuser privilege for ‘visudo’ utility to open the /etc/sudoers file.
Append ‘hdbadm ALL=(ALL) NOPASSWD: ALL’ this is assuming the hana admin user is “hdbadm”
Update ‘requiretty’ as ‘!requiretty’.
Update ‘!visiblepw’ as ‘visiblepw’.
2. For SUSE linux, we only need to do the following changes to /etc/sudoers:
Use superuser privilege for ‘visudo’ utility to open the /etc/sudoers file.
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
Considering the sid to be <hdb>