Docs.bmc.com will undergo a brief maintenance outage 27 March 2025. The site will be unavailable for ten minutes starting at 6:30 AM CDT/5 PM IST.

  This documentation supports releases of BMC Helix Continuous Optimization up to December 31, 2021. To view the latest version, select the version from the Product version menu.

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.

 

  1. Verify that the commands mount and sudo are installed on the system.
  2. Grant the ETL user (usually cpit) permission to run the mount command via sudo by configuring it in /etc/sudoers.
  3. 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