| From: | Artur Pietruk <arturp(at)plukwa(dot)pdi(dot)net> |
|---|---|
| To: | Stephane Schildknecht <sschildknecht(at)aurora-linux(dot)com> |
| Cc: | pgsql-admin(at)postgresql(dot)org |
| Subject: | Re: createuser --password |
| Date: | 2002-07-08 10:06:50 |
| Message-ID: | 20020708100650.GI13486@yoda.plukwa.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin pgsql-general |
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(at)plukwa(dot)net
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Gaetano Mendola | 2002-07-08 11:31:50 | Postgres 7.2.1 on Redhat 7.1 |
| Previous Message | Stephane Schildknecht | 2002-07-08 09:06:39 | createuser --password |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Nigel J. Andrews | 2002-07-08 10:12:17 | Re: pgaccess problems |
| Previous Message | Markus Wollny | 2002-07-08 09:08:54 | Re: Performance of ODBC-Driver /w IIS5.0/ColdFusion |