Previous Topic: secons -whoami Function—Display Your User Name and Security CredentialsNext Topic: sedbpchk Utility—Back Up the Database


secrepsw Utility—Create Policy Model and Shadow Files

Valid on UNIX

The secrepsw utility creates a password record for every user in the /etc/passwd file. This is necessary for administering users defined by PMDBs operating over a UNIX environment. The utility can also create and remove shadow files.

Note: This utility is located in the lbin directory and only root can use it. You must change the shadow token in the pmd.ini file to yes before you use this utility.

This command has the following format:

secrepsw [-h] [-c] [-r PolicyModel] [-s PolicyModel]
‑c

Creates a new Policy Model password file from the /etc/passwd and /etc/shadow files on the local computer.

-h

Displays the help for this utility.

‑r PolicyModel

Transfers user names and passwords from the Policy Model's shadow file back to the original Policy Model password file (passwd).

‑s PolicyModel

Transfers user names and passwords from the Policy Model password file (passwd) to the Policy Model's shadow file.