Re: trouble by running 'Initialize PostgreSQL' - Mailing list pgsql-cygwin

From Jason Tishler
Subject Re: trouble by running 'Initialize PostgreSQL'
Date
Msg-id 20030929113831.GC2172@tishler.net
Whole thread Raw
In response to trouble by running 'Initialize PostgreSQL'  (Olavi Tiimus <olavitiimus@hot.ee>)
List 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

pgsql-cygwin by date:

Previous
From: Jason Tishler
Date:
Subject: Re: ipc-daemon2 fails to run as WinXP service
Next
From: Jason Tishler
Date:
Subject: Re: STATUS_ACCESS_VIOLATION - Windows 2000 and cygwin 1.5.5-1