Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 88EB59FBE93 for ; Fri, 6 Apr 2007 19:08:37 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 29352-02 for ; Fri, 6 Apr 2007 19:08:25 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from lists.commandprompt.com (host-254.commandprompt.net [207.173.203.254]) by postgresql.org (Postfix) with ESMTP id 54EDB9FB565 for ; Fri, 6 Apr 2007 19:08:34 -0300 (ADT) Received: from perhan.alvh.no-ip.org (201-221-221-161.bk12-dsl.surnet.cl [201.221.221.161]) (authenticated bits=0) by lists.commandprompt.com (8.13.7/8.13.6) with ESMTP id l36M8Wla025951; Fri, 6 Apr 2007 15:08:35 -0700 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 8E1B6329F3; Fri, 6 Apr 2007 18:08:27 -0400 (CLT) Date: Fri, 6 Apr 2007 18:08:27 -0400 From: Alvaro Herrera To: Ray Stell Cc: pgsql-admin@postgresql.org Subject: Re: alter user log entry, too much information ;) Message-ID: <20070406220827.GG8209@alvh.no-ip.org> Mail-Followup-To: Ray Stell , pgsql-admin@postgresql.org References: <20070406193559.GA27920@cns.vt.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070406193559.GA27920@cns.vt.edu> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: ClamAV 0.88.5/3012/Wed Apr 4 04:49:03 2007 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (lists.commandprompt.com [192.168.2.159]); Fri, 06 Apr 2007 15:08:35 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/62 X-Sequence-Number: 25126 Ray Stell wrote: > 8.2.3 > > I did an alter user: > template1=# alter user myadminuserid encrypted password 'myadminuseridpw'; > > which cut the this log entry: > template1,21579,myadminuserid,2007-04-06 15:11:19.575 EDT,46169b35.544b,3,2007-04-06 15:10:45 EDT,594,idle LOG: statement: alter user myadminuserid encrypted password 'myadminseridpw'; > > seems like the encrypted version of 'myadminseridpw' would be a good idea > in the log. Is there away to config that? No, but if you're going to do it in psql you can use \password. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.