Re: createuser withpassword

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Ligia Pimentel <lmpimentel(at)yahoo(dot)com>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: createuser withpassword
Date: 2001-05-04 21:46:46
Message-ID: Pine.LNX.4.30.0105042346170.759-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Oliver Vecernik 2001-05-04 21:49:22 Re: Queries
Previous Message Joel Burton 2001-05-04 21:33:19 Re: createuser withpassword