Re: createuser --password - Mailing list pgsql-admin

From Artur Pietruk
Subject Re: createuser --password
Date
Msg-id 20020708100650.GI13486@yoda.plukwa.net
Whole thread Raw
In response to createuser --password  (Stephane Schildknecht <sschildknecht@aurora-linux.com>)
List pgsql-admin
On Mon, Jul 08, 2002 at 11:06:39AM +0200, Stephane Schildknecht wrote:
> Hi,

    Hello ;-).

>     Is there a way to give the password of the user to be created on the
> command line ?

    From command line you can try to do "ALTER USER", using "-c" switch
of psql, eg like this:

psql -c "ALTER USER test WITH PASSWORD 'test';" template1

    Best regards,
--
--- Artur Pietruk, arturp@plukwa.net



pgsql-admin by date:

Previous
From: Stephane Schildknecht
Date:
Subject: createuser --password
Next
From: "Gaetano Mendola"
Date:
Subject: Postgres 7.2.1 on Redhat 7.1