The following sudo privileges are requirements for the HANA 2.0 Plugin.
Privilege | Source | Target | Rationale |
mkdir/rmdir | Not Required | Required | Delphix dynamically creates and removes directories at /mnt1 and /mnt2 along with directories located under the provisioning parent directory during VDB operations. This privilege is not optional. |
mount/umount | Not Required | Required | Delphix dynamically mounts and unmounts directories under /mnt1, /mnt2 and the provisioning directory during VDB operations. This privilege is required because mount and umount are typically reserved for superuser. |
Example with user hdbadm:
Defaults:hdbadm !requiretty
hdbadm ALL=NOPASSWD:/sbin/mount, /sbin/umount, /bin/mkdir, /bin/rmdir