Re: trouble by running 'Initialize PostgreSQL'

From: Jason Tishler <jason(at)tishler(dot)net>
To: Olavi Tiimus <olavitiimus(at)hot(dot)ee>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: trouble by running 'Initialize PostgreSQL'
Date: 2003-09-29 11:38:31
Message-ID: 20030929113831.GC2172@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Olavi,

On Mon, Sep 29, 2003 at 12:10:29PM +0300, Olavi Tiimus wrote:
> How can I log on as 'postgres'?

What about the following from the README?

[2] The "$" prompt indicates running as the "postgres" user. Log in
as "postgres" or use ssh to emulate Unix's "su" command.

The former above is just the old fashion Windows way -- logon at the
logon prompt. The latter is much more convenient assuming you already
have sshd set up...

> If I put 'su - postgres' then it asks password, I type the password,
> it says - 'su: incorrect password' The password _is_ correct.

su does *not* work under Cygwin -- search the Cygwin archives for the
details.

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Jason Tishler 2003-09-29 11:51:57 Re: STATUS_ACCESS_VIOLATION - Windows 2000 and cygwin 1.5.5-1
Previous Message Jason Tishler 2003-09-29 11:32:28 Re: ipc-daemon2 fails to run as WinXP service