Currently all of our PMD subscribers point to a single master PMD . We need the ability to not share all accounts with all machines so we need a method to breakup the PMD into multiple but still share some admin accounts.
Overview: This architecture uses a hierarchical approach to manage a general set of users while distributing passwords to endpoints via localized Policy Model Databases (PMDs). This allows for granular control while maintaining a central source of truth.
Create the new Sub-Master PMD.
Configure the Sub-Master to start automatically on boot.
Subscribe the Sub-Master PMD to the Master PMD.
Reassign endpoints from the Master PMD to the new Sub-Master.
Use the sepmdadm utility to define the new PMD.
Command Syntax:
sepmdadm --pmdname <sub-master-PMD> --admin <User> --auditor <User> --desktop <hostname> --parentpmd "<MasterPMD@hostname>"
Example:
sepmdadm --pmdname dev --admin root --auditor user --desktop localhost --parentpmd "[email protected] "
To ensure PMDs persist after a reboot, modify the seos.ini file.
Stop services: secons -s
Edit /etc/seos.ini: Under the [daemons] section, add a line for each PMD.
Example Configuration:
[daemons]
sepmd=/opt/CA/PAMSC/bin/sepmd -S master-pmd
sepmd=/opt/CA/PAMSC/bin/sepmd -S dev-sub-pmd
sepmd=/opt/CA/PAMSC/bin/sepmd -S prod-sub-pmd
seos service before manual file edits.The Sub-Master needs to subscribe to the Master for updates.
Command Syntax:
sepmd -n <MasterPMD> <sub-master-pmd>@<hostname>
Example:
sepmd -n master [email protected]
Note: When running sepmd -L master, subscribers that are other PMDs are identified by the @ symbol (e.g., [email protected]), whereas standard endpoints appear as simple hostnames.
If an endpoint is already connected to the master, you must unsubscribe it before moving it to the sub-master.
Remove from Master:
sepmd -u master endpoint1.example.com
Subscribe to Sub-Master:
sepmd -s dev endpoint1.example.com
Endpoints need their internal configuration updated to recognize the new parent.
| Setting | Description |
| parent_pmd | Defines the source of policy updates (supports comma-separated list). |
| passwd_pmd | Defines the source for password updates (defaults to parent_pmd if blank). |
Method A: While Services are Stopped (CLI)
seini -s seos.parent_pmd <sub-master-pmd>
Method B: While Services are Running (Selang Prompt)
selang
pamsc> env config
pamsc> er config seos.ini section(seos) token(parent_pmd) value('new-sub-pmd')
Method C: One-liner while Services are Running (Silent/Scripted)
selang -s -c "env config; er config seos.ini section(seos) token(parent_pmd) value('new-sub-pmd')"
Linux UIDs must remain consistent across the hierarchy.
Best Practice: Before creating users in the new Sub-Master, copy the password file from the Master:
cp /opt/CA/PAMSC/policies/<master-pmd>/passwd /opt/CA/PAMSC/policies/<sub-master-pmd>/passwd
Verification: Ensure sync-uid is set to yes in the /opt/CA/PAMSC/policies/<sub-master-pmd>/pmd.ini.
While an endpoint can subscribe to multiple PMDs, avoid modifying the same account password in two different PMDs. This creates "race conditions" where the last update received wins, potentially causing login failures across your environment.To ensure all user UID's remain consistent all new users should be created on the top level. You can manage the passwords at the highest level policy to distribute the passwords only to the endpoints that require that user.
For additional details onthis topic see https://techdocs.broadcom.com/us/en/symantec-security-software/identity-security/privileged-access-manager-server-control/14-1/administrating/endpoint-administration-for-unix/policy-model-database-unix/configure-automatic-rule-based-policy-updates/how-you-can-set-up-a-hierarchy.html