pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: pgsql-general@postgresql.org
Subject: Re: Postgresql
Date: Thu, 12 Mar 2009 13:39:59 -0700
Message-ID: <49B9731F.3070002@hogranch.com> (raw)
In-Reply-To: <49B96A4C.6090007@iol.ie>
References: <BLU108-DS7E4DD126EFEDFDF97A286DD9F0@phx.gbl>
	<20090312194543.GA31198@tux>
	<alpine.LNX.2.00.0903121253300.7968@salmo.appl-ecosys.com>
	<49B96A4C.6090007@iol.ie>

Raymond O'Donnell wrote:
> On 12/03/2009 19:56, Rich Shepard wrote:
>
>   
>> will allow this. If the machine runs Microsoft, I've no idea at all
>>     
>
> Start Menu
>   -> Administrative Tools
>     -> Computer Management
>       -> Local Users & Groups
>         -> Users
>
> ...then right-click on the user, and select "Set password".
>   

or, at a Windows command line prompt,  (of course, replacing newpassword 
with whatever random password you chose)

    C:\>  net user postgres newpassword

then make sure the pgsql-8.3 (or whatever) service descriptor is using 
this same password...

    C:\> net user postgres newpassword
    The command completed successfully.

    C:\> sc config pgsql-8.3 password= mumba$$
    [SC] ChangeServiceConfig SUCCESS

    C:\> net start pgsql-8.3
    The PostgreSQL Database Server 8.3 service is starting.
    The PostgreSQL Database Server 8.3 service was started successfully.


(note on the SC CONFIG command, the spacing is critical on that 
password= ... there's no space before the = and there must be a space 
after it, quirky little thing)





view thread (68+ messages)  latest in thread

Message-ID: <49B9731F.3070002@hogranch.com>
Permalink:  ../49B9731F.3070002@hogranch.com/
Also on:    postgresql.org/message-id/49B9731F.3070002@hogranch.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: pierce@hogranch.com
  Subject: Re: Postgresql
  In-Reply-To: <49B9731F.3070002@hogranch.com>
  References: <BLU108-DS7E4DD126EFEDFDF97A286DD9F0@phx.gbl> <20090312194543.GA31198@tux> <alpine.LNX.2.00.0903121253300.7968@salmo.appl-ecosys.com> <49B96A4C.6090007@iol.ie> <49B9731F.3070002@hogranch.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox