Re: User created under Win2K not found under CygWin - Mailing list pgsql-cygwin

From Jason Tishler
Subject Re: User created under Win2K not found under CygWin
Date
Msg-id 20030625105057.GA2060@tishler.net
Whole thread Raw
In response to User created under Win2K not found under CygWin  (Bernard NIZET <bernard.nizet@online.be>)
List pgsql-cygwin
Bernard,

On Wed, Jun 25, 2003 at 10:18:55AM +0200, Bernard NIZET wrote:
> I followed Jason's instructions at
> http://archives.postgresql.org/pgsql-cygwin/2001-08/msg00110.php

Please use the current README:

    http://www.tishler.net/jason/software/postgresql/postgresql-7.3.3.README

> to install it like a Win2K Service.
>
> But Cygwin does not recognise my postgres user created under Win2K.

Did you do the following?

    # mkpasswd -l -u postgres >>/etc/passwd

> I think the problem is may be the same for all users because all my
> cygwin su <username> commands failed with a problem of invalid
> password or user doesn't exist.

No, su does *not* work under Cygwin.

> May be, do I have to reexecute a CygWin postinstall script to
> re-generate /etc/passwd file ?

No, the above mkpasswd command is sufficient.

> With mkpasswd -l, all my Win2K users have a unused-by-nt/2000/xp
> comment in place of a * for SYSTEM and Administrators.

The "unused-by-nt/2000/xp" comment is normal.

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: Bernard NIZET
Date:
Subject: User created under Win2K not found under CygWin
Next
From: Bernard NIZET
Date:
Subject: Postmaster doesn't start under CygWin (semctl failed)