pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Artur Pietruk <arturp@plukwa.pdi.net>
To: Stephane Schildknecht <sschildknecht@aurora-linux.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: createuser --password
Date: Mon, 8 Jul 2002 12:06:50 +0200
Message-ID: <20020708100650.GI13486@yoda.plukwa.net> (raw)
In-Reply-To: <1026119199.1371.15.camel@fukse>
References: <1026119199.1371.15.camel@fukse>

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





view thread (7+ messages)  latest in thread

Message-ID: <20020708100650.GI13486@yoda.plukwa.net>
Permalink:  ../20020708100650.GI13486@yoda.plukwa.net/
Also on:    postgresql.org/message-id/20020708100650.GI13486@yoda.plukwa.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: arturp@plukwa.pdi.net, sschildknecht@aurora-linux.com
  Subject: Re: createuser --password
  In-Reply-To: <20020708100650.GI13486@yoda.plukwa.net>
  References: <1026119199.1371.15.camel@fukse> <20020708100650.GI13486@yoda.plukwa.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox