Re: Updated Cygwin Package: postgresql-7.4.2-1

From: "David P(dot) Lurie" <dbase4(at)hotmail(dot)com>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Updated Cygwin Package: postgresql-7.4.2-1
Date: 2004-06-16 15:29:03
Message-ID: capovm$1u6$1@sea.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin


"Jason Tishler" <jason(at)tishler(dot)net> wrote in message
news:20040615110304(dot)GA2432(at)tishler(dot)net(dot)(dot)(dot)
> On Mon, Jun 14, 2004 at 11:15:49PM -0500, Mike G wrote:
> > I created the postgres account using control panel->users->advanced
> > instead of what is in the readme.
>
> The two methods should be equivalent with the later just being easier to
> document.
>
> > If I follow the readme the postgres account is never truly created for
> > me in windows(can't actually log in under that name using the pc name
> > / local domain).
>

I had to tweak the README instructions, primarily adding quotes when needed.
Some of my changes may have been redundant:

Original:

net user postgres $password /add /fullname:postgres /comment:'PostgreSQL
user account' /homedir:"$(cygpath -w /home/postgres)"

Where $password is your new password and $(cygpath ...) is the path to
/home/postgres on your system as output in Windows format by the cygpath
utility.

New:

mkdir -p /home/postgres

chown postgres /home/postgres

net user postgres $password /add /fullname:"postgres "
/homedir:"C:\cygwin\home\postgres"

David

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Jason Tishler 2004-06-16 17:24:45 Re: Updated Cygwin Package: postgresql-7.4.2-1
Previous Message - Barry - 2004-06-16 06:21:23 Re: Source name not found