With the PMDB daemon stopped, I can connect to PMDB_LINUX by executing selang -p PMDB_LINUX.
However, while the PMDB daemon is running, an error occurs when I run selang -p PMDB_LINUX.
Question: What is the command to access PMDB_LINUX while the PMDB daemon is running?
Release : 12.8.x/14.0/14.1
When using the "selang -p <PMDB>" can be used only when the PMDB is not loaded.
-p <PolicyModel-name> Operate on the local PMDB named PolicyModel-name (this is the.
database in the PMDB subdirectory). Changes are not propagated
to subscribers. This is not the same as using the hosts command.
To connect to the PMDB when it's loaded, we need to access it from selang as demonstrated below.
AC> hosts PMDB_LINUX@
INFO: Target host's version is <XX.XX.XXXX>
UNIX OS info: <hostname> Linux 3.10.0-1160.76.1.el7.x86_64 09 Mar 2023 06:17:29 UTC