X-Original-To: pgsql-docs@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 72786476B7E for ; Fri, 16 May 2003 13:21:47 -0400 (EDT) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with ESMTP id 97542-07 for ; Fri, 16 May 2003 13:21:42 -0400 (EDT) Received: from anchor-post-35.mail.demon.net (anchor-post-35.mail.demon.net [194.217.242.85]) by postgresql.org (Postfix) with ESMTP id 7C90C476B65 for ; Fri, 16 May 2003 13:15:52 -0400 (EDT) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-35.mail.demon.net with esmtp (Exim 3.36 #2) id 19GioB-0005mK-0Z; Fri, 16 May 2003 18:15:51 +0100 Received: from localhost (localhost.localdomain [127.0.0.1]) by mainbox.archonet.com (Postfix) with ESMTP id F1E3F1682C; Fri, 16 May 2003 18:15:50 +0100 (BST) Received: from client.archonet.com (client.archonet.com [192.168.1.16]) by mainbox.archonet.com (Postfix) with ESMTP id 5794316822; Fri, 16 May 2003 18:15:50 +0100 (BST) Content-Type: text/plain; charset="iso-8859-1" From: Richard Huxton Organization: Archonet Ltd To: vartul_arora@yahoo.co.in (Mack Stevenson), pgsql-docs@postgresql.org Subject: Re: password setting for a user Date: Fri, 16 May 2003 18:15:51 +0100 User-Agent: KMail/1.4.3 References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200305161815.51612.dev@archonet.com> X-Virus-Scanned: by AMaViS snapshot-20020531 X-Virus-Scanned: by amavisd-new X-Archive-Number: 200305/10 X-Sequence-Number: 1780 On Friday 09 May 2003 6:53 am, Mack Stevenson wrote: > Hi! All > > I am a new bie in Linux(8.0) and Postgresql 7.2. I have managed to get > my postmaster running. I have also created a database and a user for > myself. But the only thing that is NOT proper is that IT NEVER ASKS ME > FOR A PASSWORD. I am able to log in without a password!!!!! > > I tried to alter the user with PASSWORD option but it just does not > work. > > Any help is appreciated Look for a pg_hba.conf file this defines Host Based Access settings which= =20 decide whether you trust a particular host, use identd, passwords or some= =20 other method. The file is in your .../data folder with postgresql.conf etc. --=20 Richard Huxton