pg_md5

Name

pg_md5 --  produces encrypted password in md5

Synopsis

pg_md5 [option...]

pg_md5 [password]

Description

pg_md5 produces encrypted password in md5.

Options

-p
--prompt

Prompt password using standard input.

-m
--md5auth

Produce md5 authentication password.

-u your_username
--username=your_username

When producing a md5 authentication password, create the pool_passwd entry for your_username.

Example

Here is an example output:

pg_md5 -p
password: [your password]
    

or

./pg_md5 foo
acbd18db4cc2f85cedef654fccc4a4d8