pvdbpass(1)

NAME
pvdbpass - Zen database password utility.

SYNOPSIS
pvdbpass database username [-server servername] [-port number]

pvdbpass database username password newpassword [-server servername] [-port number]

DESCRIPTION
pvdbpass allows users to change their passwords for secure databases without administrator intervention.

PARAMETERS

database
    Database in which the user name is defined (this can be a database name or a server DSN).

username
    The user whose password will be changed.

password
    The current password for the user. You must provide the original password in order to modify it. You can either provide the password as a parameter or omit it and be prompted.

newpassword
    The new password for the user. The password is subject to the limitations specified in the SQL Engine Reference. See the SET PASSWORD syntax.

Note: If the new password begins with a nonalphabetic character, the password must be enclosed in single quotes. If the existing password begins with a nonalphabetic character, do not enclose it in single quotes (see examples).

servername
    Optional. Server name on which the database is defined. If you do not specify this option, the local machine is assumed.

port
    Optional. TCP port on which the SQL engine running on servername is listening. If you do not specify this option, the default port 1583 is assumed.

EXAMPLES

To change the Master user password and be prompted:

pvdbpass demodata Master

To change an existing password to one that does not start with an alphabetic character (use single quotes):

pvdbpass demodata Joe oldpassword '123'

To change a password on a remote server:

pvdbpass demodata Joe oldpass newpass -server finance1

SEE ALSO
User's Guide for more information about the pvdbpass utility.