Generate a password file

Password database files, which are also called user database files, must be in binary format.

About this task

This procedure must be performed through the command-line interface (CLI). For command-usage guidelines, run the man pwd_mkdb command.

Procedure

  1. Establish an SSH connection to any node in the cluster.
  2. Run the pwd_mkdb<file> command, where <file> is the location of the source password file.
    Note Image

    By default, the binary password file, spwd.db, is created in the /etc directory. You can override the location to store the spwd.db file by specifying the -d option with a different target directory.

    The following command generates an spwd.db file in the /etc directory from a password file that is located at /ifs/test.passwd:
    pwd_mkdb /ifs/test.passwd
    The following command generates an spwd.db file in the /ifs directory from a password file that is located at /ifs/test.passwd:
    pwd_mkdb -d /ifs /ifs/test.passwd