Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f2CJrox54121 for ; Mon, 12 Mar 2001 14:53:50 -0500 (EST) (envelope-from pgsql-admin-owner@postgresql.org) Received: from localhost.localdomain (matrix.quadrent.net [209.91.156.98] (may be forged)) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f278aAx13593 for ; Wed, 7 Mar 2001 03:36:10 -0500 (EST) (envelope-from mike@quadrent.net) Received: from neutrino (1mm-52.vianet.on.ca [209.91.163.243]) by localhost.localdomain (8.9.3/8.9.3) with SMTP id DAA02109; Wed, 7 Mar 2001 03:35:11 -0500 Message-ID: <000a01c0a6e1$cac7ad70$a973fea9@neutrino> From: "mike" To: , "Anatoly K. Lasareff" Cc: References: <97tvl7$3bf$1@news.netmar.com> <86pufu58jz.fsf@tolikus.hq.aaanet.ru> Subject: Re: cannot create new user in postgres Date: Wed, 7 Mar 2001 03:37:04 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2428.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2428.0000 X-Archive-Number: 200103/79 X-Sequence-Number: 925 as user postgres simply do the following: createuser username that will promt you for a couple of questions, asking if you want that user to beable to make databases and to add users. Mike ----- Original Message ----- From: "Anatoly K. Lasareff" To: Cc: Sent: Wednesday, March 07, 2001 2:42 AM Subject: Re: cannot create new user in postgres > >>>>> "j" == joydip writes: > > j> Hi all > > j> I have tried to configure the pg_hba.conf with > > j> local all > j> trust > j> host all 127.0.0.1 255.255.255.255 trust > > j> then i tried to run > > j> psql -h localhost template1 > > j> but any of my domain failing to use postgresql . > > j> They are showing error re no entry in pg_shadow. > > > j> though it was running in root ok with user postgres > > j> Thanks in advance for the help > > Who is postgres superuser? Suppose it is 'pgsql', then try > > psql -U pgsql templateq > > -- > Anatoly K. Lasareff Email: tolik@aaanet.ru > http://tolikus.hq.aaanet.ru:8080 Phone: (8632)-710071 > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly >