X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 9877C9FB21C for ; Wed, 3 May 2006 07:09:43 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 54140-03-5 for ; Wed, 3 May 2006 07:09:30 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from web54212.mail.yahoo.com (web54212.mail.yahoo.com [206.190.39.45]) by postgresql.org (Postfix) with SMTP id BD73B9FB29E for ; Wed, 3 May 2006 06:01:17 -0300 (ADT) Received: (qmail 36154 invoked by uid 60001); 3 May 2006 09:01:12 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=dhZAqxPeHMiG0n64hAtZX9pDkKjWs9sOGNogn0vEdnkNJFT5vE9g99k87YdDbeU845tiW6YD9be/fksWu3Hm2/6GhzVH24BKheSQV949TCLeFpzfGUNa5vyU2G9vj8net/YaiCcrMhMtYyMQhSzqokFN6Vf0dRd3qdxVHbfn9ro= ; Message-ID: <20060503090112.36152.qmail@web54212.mail.yahoo.com> Received: from [64.81.86.61] by web54212.mail.yahoo.com via HTTP; Wed, 03 May 2006 02:01:12 PDT Date: Wed, 3 May 2006 02:01:12 -0700 (PDT) From: "J." Subject: changing my password under cygwin To: pgsql-jdbc@postgresql.org In-Reply-To: <44521EB7.8040604@vailsys.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1633295277-1146646872=:33969" Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/3 X-Sequence-Number: 15131 --0-1633295277-1146646872=:33969 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit I've got postgresql installed with cygwin under xp. I need to alter my password but I can't find anything that works. Everything I've tried so far hasn't made the change and gives no feedback as to what might be wrong. Here is the command I use to run the psql tool: psql -U username -d template1 Here are some things I've tried that didn't work: alter user username with password 'userpass' net user username userpass This is the command I ran before I created my username, but now when I run it, it asks for a password which I either never knew or forgot: psql -d template1 I could even delete the user and re-create it as long as I wouldn't lose access to the system. Thanks. --------------------------------- Yahoo! Mail goes everywhere you do. Get it on your phone. --0-1633295277-1146646872=:33969 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit I've got postgresql installed with cygwin under xp.  I need to alter my password but I can't find anything that works.  Everything I've tried so far hasn't made the change and gives no feedback as to what might be wrong.  Here is the command I use to run the psql tool:

psql -U username -d template1

Here are some things I've tried that didn't work:

alter user username with password 'userpass'

net user username userpass

This is the command I ran before I created my username, but now when I run it, it asks for a password which I either never knew or forgot:

psql -d template1

I could even delete the user and re-create it as long as I wouldn't lose access to the system.  Thanks.


Yahoo! Mail goes everywhere you do. Get it on your phone. --0-1633295277-1146646872=:33969--