Re: [ADMIN] PostgreSQL installation problem on Windows XP Home

From: Afton & Ray Still <rastill(at)shaw(dot)ca>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: [ADMIN] PostgreSQL installation problem on Windows XP Home
Date: 2005-03-08 07:07:11
Message-ID: 009f01c523ad$730af720$7c884146@rayshome
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-cygwin pgsql-general pgsql-novice

Hello,
I was very interested to see this as I have had simmiler problems. However this again seems to be a xp pro only thing.
Thanks
Ray
(Link provides 7 steps, step 3 doesn't work with home version)
(gotta love ms.) (yeah, right.)
----- Original Message -----
From: Bearden Barnes
To: 'Hagop H.'
Cc: PGSQL-novice(at)postgresql(dot)org ; PGSQL-cygwin(at)postgresql(dot)org ; PGSQL-admin(at)postgresql(dot)org ; PGSQL-general(at)postgresql(dot)org
Sent: Friday, March 04, 2005 3:10 PM
Subject: Re: [NOVICE] [ADMIN] PostgreSQL installation problem on Windows XP Home

See the following article in Microsoft's Knowledgebase which describes how to get to the system accounts in Windows XP Home. It specifically addresses changing the Windows administrator password, but as long as you follow the directions you should see the postgres account along with administrator and other system accounts.

Cannot Change the Password for the Administrator Account in User Accounts in Control Panel
Article ID : 298252

http://support.microsoft.com/default.aspx?scid=kb;en-us;298252

--Bearden Barnes

-----Original Message-----
From: Hagop H. [mailto:HagopH(at)hotpop(dot)com]
Sent: Friday, March 04, 2005 4:08 PM
To: PGSQL-novice(at)postgresql(dot)org; PGSQL-cygwin(at)postgresql(dot)org; PGSQL-admin(at)postgresql(dot)org; PGSQL-general(at)postgresql(dot)org
Subject: [ADMIN] PostgreSQL installation problem on Windows XP Home

I know that my problem is due to my carelessness and ignorance, but I didn't think that installing PostgreSQL would cause a state of affairs not easily reversed. Please excuse the length of the following narrative.

When installing PostgreSQL 8.0.1 on my laptop running Windows XP Home (SP2), I let the installer create the postgres account and generate a password. I didn't write down the password. I figured that if the installer was going to generate a random password, it would store it in some configuration or log file and not ask me for it. I was wrong. (Perhaps a warning for idiots like me would be appropriate in the MSI installer file?) When I went to connect to the template1 database, PGAdmin III asked me for the postgres account password, which I was unable to provide.

Normally this wouldn't be a problem. I figured I'd just start up Control Panel and change the postgres account password. Unfortunately, Windows XP Home doesn't provide any obvious tools to change a system account password. I only know how to change user account passwords. Control Panel's User Accounts tool is useless for this problem.

I uninstalled PostgreSQL, thinking that reinstalling it might help. I tried removing the postgres account to no avail. My only indication that the postgres account still exists is the Windows Services administration utility. I know of no method to delete the account. Microsoft's Knowledge Base provided no help. Windows XP Professional contains a tool called Local Users and Groups (lusrmgr.msc) that allows the administrator to change any account's password. Windows XP Home cannot run that program.

When I reinstall PostgreSQL, I am asked for the postgres account password. I know I could rename the postgres account name to postgres1 or something else, but I don't know if that will create any further issues for me. I could also upgrade the laptop's OS to XP Pro in order to change the postgres account password, but that feels like using a sledgehammer to cut diamonds.

I certainly bear most of the blame. It would be too easy to bash Microsoft for this. I also wish that PostgreSQL's installer did not auto-generate passwords that cannot be changed. None of what I went through was necessary.

If someone could tell me either how to delete the postgres account or change its password, I would appreciate the assistance.

Regards,

Hagop Hagopian

------------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.6.3 - Release Date: 3/7/2005

Attachment Content-Type Size
unknown_filename text/plain 136 bytes

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Stef 2005-03-08 08:00:00 Re: [SQL] Postgres schema comparison.
Previous Message Thomas F.O'Connell 2005-03-08 05:41:31 Re: Too many clients----A big problem for my team

Browse pgsql-cygwin by date

  From Date Subject
Next Message Reini Urban 2005-03-08 07:09:04 Re: pg_dump and Postgres 8.0.0 Release on cygwin
Previous Message Reini Urban 2005-03-08 07:07:10 Re: Building DBD::Pg fails at make test

Browse pgsql-general by date

  From Date Subject
Next Message Raghunath Ganti 2005-03-08 08:20:10 Postgres - Tsearch2 Module
Previous Message Net Virtual Mailing Lists 2005-03-08 05:32:20 Re: Inherited tables, triggers, and schemas...

Browse pgsql-novice by date

  From Date Subject
Next Message Michael Fuhr 2005-03-08 07:24:51 Re: Constructors in clases
Previous Message John DeSoi 2005-03-08 07:04:42 Re: QT3 Designer Pgadmin III and PgAccess Cannot connect to PostgreSQL 7.4 database