If the _User table is established for the database, -userid username must be included to specify a privileged user to authenticate. The specified user, username, must be defined in the _User table and have the required role. The specified password, passwd, must be the password defined in _User table to match username. The password can be specified with the -password passwd qualifier or if omitted, the utility will prompt for the value. The value of passwd can be in clear text format or encoded. For details on specifying an encoded password, see Specify encoded passwords.

If you have defined the user "Mike" in the _User table with a password of "guru" for the database auditexampledb, and assigned "Mike" the Audit Data Archiver role, then executing the protected PROUTIL AUDITARCHIVE utility for the database would use one of the following formats:

  • Clear text password:
$ proutil auditexampledb -C auditarchive -userid Mike -password guru
  • Prompt for password:
$ proutil auditexampledb -C auditarchive -userid Mike
OpenEdge Release 12
password: ****

At the password prompt, the password "guru" must be typed before the AUDITARCHIVE runs.

  • Encoded password:
$ genpassword -password guru -prefix ae2h4
45dfbd61b23782d6168bdd12edbe2d3120c25c78b5c88a15c4ca7a1e19b78911547bac4edd1e89ae19d0abbcce8a9bb6
.
.
.
$ proutil auditexampledb -C auditarchive -userid Mike
            -password ae2h4::45dfbd61b23782d6168bdd12edbe2d3120c25c78b5c88a15c4ca7a1e19b78911547bac4edd1e89ae19d0abbcce8a9bb6

First, you must encode the password using genpassword. Then, when you run the AUDITARCHIVE utility (presumably at a later time), specify the encoded password in the command.