www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/06/14:47:48

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 06 Jan 2003 14:50:30 -0500
From: Jason Tishler <jason AT tishler DOT net>
Subject: Re: postgresql question
In-reply-to: <5.1.1.6.2.20030103163103.01db4258@pop.mcs.anl.gov>
To: Michelle Wang <mwang AT mcs DOT anl DOT gov>
Cc: Cygwin <cygwin AT cygwin DOT com>
Mail-followup-to: Michelle Wang <mwang AT mcs DOT anl DOT gov>, Cygwin <cygwin AT cygwin DOT com>
Message-id: <20030106195030.GA1928@tishler.net>
MIME-version: 1.0
User-Agent: Mutt/1.4i
References: <5 DOT 1 DOT 1 DOT 6 DOT 2 DOT 20030103163103 DOT 01db4258 AT pop DOT mcs DOT anl DOT gov>

Michelle,

Please post instead of sending private email.  Not only is it the more
appropriate way to solicit help, you may find that you get a better
response time too.

On Fri, Jan 03, 2003 at 04:58:52PM -0800, Michelle Wang wrote:
> I tried to build PostgreSql on Windows 2000 according to
> postgresql-7.3.README file.  The thing is after I created the
> "postgres" user account by
> 
>     # net user postgres /add /fullname:postgres /comment:'PostgreSQL user account' /homedir:"$(cygpath -w /home/postgres)"
>     # mkpasswd -l -u postgres >>/etc/passwd
> 
> I could not login "postgres" by ssh.

Did you set up ssh?

> I tried to check if the user "postgres" existed. I found that I could
> see it by ControlPanel->Users and Passwd. But the dir
> C:\cygwin\home\postgres didn't exist.

Did you create "C:\cygwin\home\postgres"?

> Any idea about that?

Note that you can always just login as postgres to run initdb, if you
don't have ssh set up.  Since I already have it set up, I find this way
to switch user to be *much* more convenient.

> Thanks a lot,

You are welcome.

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

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019