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: 20030625105057.GA2060@tishler.net (view raw or flat)
Thread:
Lists: 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

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-2014 The PostgreSQL Global Development Group