This article provides information about how to generate a report of registered users in Authentication Manager database.
The report is generated at the command line where the administrator has access to the rsaadmin account password and knows the Operations Console username and password.
- Logon to the SecurID Appliance either with an SSH session or at the local console with the rsaadmin account.
- Go to /opt/rsa/am/utils.
- Retrieve the password for the rsa_dba user using the following command:
/opt/rsa/am/utils/rsautil manage-secrets -a get com.rsa.db.dba.password
- Enter the Operations Console username and password when prompted.
- Make a note of the returned com.rsa.db.dba.password value.
- Create a text file in /opt/rsa/am/utils with an appropriate name; for example, registered_users.sql.
- Copy the SQL statement below into the text file and save the change.
SELECT
ipd.loginuid,
ipd.IDENTITY_SRC_KEY,
iis.name,
iis.principal_base_dn
FROM
RSA_REP.IMS_PRINCIPAL_DATA ipd
INNER JOIN
RSA_REP.IMS_IDENTITY_SOURCE iis
ON
iis.id = ipd.IDENTITY_SRC_ID;
- From /opt/rsa/am/utils, use the following command to generate a .csv output file using registered_users.sql.
/opt/rsa/am/pgsql/bin/psql -h localhost -p 7050 -d db -U rsa_dba -A -F , -X -t -f registered_users.sql -o regusers_report.csv
- When prompted, enter the com.rsa.db.dba.password value obtained in step 3.
- Open the regusers_report.csv to see a list of all of the registered users in the Authentication Manager 8.x database.