Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 31ED34758DA for ; Mon, 8 Jul 2002 06:07:16 -0400 (EDT) Mailbox-Line: From arturp@plukwa.pdi.net Mon Jul 8 06:07:16 2002 Received: from yoda.plukwa.net (yoda.plukwa.net [213.146.36.61]) by postgresql.org (Postfix) with ESMTP id 1D7004758D8 for ; Mon, 8 Jul 2002 06:07:11 -0400 (EDT) Received: from arturp by yoda.plukwa.net with local (Exim 3.35 #1 (Debian)) id 17RVPv-0000ke-00; Mon, 08 Jul 2002 12:06:51 +0200 Date: Mon, 8 Jul 2002 12:06:50 +0200 From: Artur Pietruk To: Stephane Schildknecht Cc: pgsql-admin@postgresql.org Subject: Re: createuser --password Message-ID: <20020708100650.GI13486@yoda.plukwa.net> References: <1026119199.1371.15.camel@fukse> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1026119199.1371.15.camel@fukse> User-Agent: Mutt/1.4i X-Spam-Status: No, hits=-5.3 required=5.0 tests=IN_REP_TO,X_NOT_PRESENT version=2.30 X-Spam-Level: X-Archive-Number: 200207/110 X-Sequence-Number: 4796 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