Re: createuser withpassword - Mailing list pgsql-admin

From Peter Eisentraut
Subject Re: createuser withpassword
Date
Msg-id Pine.LNX.4.30.0105042346170.759-100000@peter.localdomain
Whole thread Raw
In response to createuser withpassword  ("Ligia Pimentel" <lmpimentel@yahoo.com>)
List pgsql-admin
Ligia Pimentel writes:

> I want to create a user but I want to assign a password to it from the
> comand line, I don't want it to be prompted. Can it be done?

psql -c "create user foo with password 'bar';"

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


pgsql-admin by date:

Previous
From: Joel Burton
Date:
Subject: Re: createuser withpassword
Next
From: Oliver Vecernik
Date:
Subject: Re: Queries