A Python utility to manage the admin account password and LDAP membership of the OA and the VCM
- Linux Ubuntu 14.04 server
- Python 2.7
wget -O install.sh https://redacted/install.sh
chmod +x install.sh
sudo ./install.sh [venv]
# Note: venv is optional but recommended - if specified will install all packages in a Python virtual environment
Create required environment variables
export hpaccess_username=<'Your AD User'>
export hpaccess_password=<'Your AD Password'>
export hpaccess_admin_pass=<'New Admin Password for OAs and VCMs'>
Create Yaml config file
cp hpaccess_config.yaml.example ~/hpaccess_config.yaml
vim ~/hpaccess_config.yaml
Run the script
python src/main/python/HPaccess/hpaccess.py
Clone the repository
git clone https://redacted.git
cd HPaccess
Install packages and dependencies
chmod +x build.sh
sudo ./build.sh
source venv/bin/activate
Build the application
pyb -X
Link module for development
cd target/dist/HPaccess*/
python setup.py develop
Run unit tests
pyb run_unit_tests