Skip site navigation (1) Skip section navigation (2)

Re: User created under Win2K not found under CygWin

From: Jason Tishler <jason(at)tishler(dot)net>
To: Bernard NIZET <bernard(dot)nizet(at)online(dot)be>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: User created under Win2K not found under CygWin
Date: 2003-06-25 10:50:58
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-cygwin

On Wed, Jun 25, 2003 at 10:18:55AM +0200, Bernard NIZET wrote:
> I followed Jason's instructions at 

Please use the current 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.


PGP/GPG Key: or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

In response to

pgsql-cygwin by date

Next:From: Kurt RoeckxDate: 2003-06-25 16:06:31
Subject: Re: [HACKERS] ss_family in hba.c
Previous:From: Bernard NIZETDate: 2003-06-25 08:18:55
Subject: User created under Win2K not found under CygWin

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group