Enabling Windows shares mounting
This topic describes how to enable the application server to mount Windows shares.
Note
This task is also relevant for the WinShareUtil, which is an ETL utility for mounting Windows shares.
To enable the application server to mount Windows shares
Note
The Windows share option uses sudo mount for mounting the file system to the application server. Only sudo is supported for an su type command alternative, and BMC Helix Continuous Optimization does not support sesu. Also note that the cpit id must be able to sudo to get root privileges, as mount requires root access.
- Verify that the commands
mount
andsudo
are installed on the system. - Grant the ETL user (usually cpit) permission to run the
mount
command viasudo
by configuring it in/etc/sudoers
. Comment out the following configuration line:
Defaults requiretty
Change it to:
#Defaults requiretty
The following is an example of the configuration:
cpit ALL=(ALL) NOPASSWD: ALL
You can configure sudoers
to restrict the commands available to the ETL user. For example:
cpit <localBMCCapacityOptimizationHost> = (root) NOPASSWD:/bin/mount, /bin/umount
Comments
Log in or register to comment.