Обсуждение: Creation of postgres user to cygwin.

Поиск
Список
Период
Сортировка

Creation of postgres user to cygwin.

От
mika.laitio@sysline.com
Дата:
I tried to install postgreSQL to service as mentioned in the
postgresql-7.2.README document.
When I try to login to postgreSQL as a postgres-user I am however getting
following error:

      login: postgres
      Password:
      Fanfare!!!
      You are successfully logged in to this server!!!
      login: no shell: /bin/bash: Permission denied

      Administrator@NERIAH ~
      $

I am running Windows 2000 as a user belonging to my companys NT-Domain. The
postgres user which I created to Windows, is local user.
If I logon to Windows as a local postgres-user, then I can also logon to
Cygwin as a postgres-user.
(Then I will get again same error-message if I try to logon as a
Administrator-user)

I tried to read documentation from ntsec in
      http://cygwin.com/cygwin-ug-net/ntsec.html
but I really did not catch up what I should do...

Mika


Re: Creation of postgres user to cygwin.

От
Jason Tishler
Дата:
Mika,

[The following is probably too little, too late...]

On Tue, Feb 12, 2002 at 06:48:05PM +0200, mika.laitio@sysline.com wrote:
> I tried to install postgreSQL to service as mentioned in the
> postgresql-7.2.README document.

Did you really read the above carefully?  Specifically:

    [2] The "$" prompt indicates running as the "postgres" user.  Log in
    as "postgres" or use ssh to emulate Unix's "su" command.

> When I try to login to postgreSQL as a postgres-user I am however getting
> following error:
>
>       login: postgres
>       Password:
>       Fanfare!!!
>       You are successfully logged in to this server!!!
>       login: no shell: /bin/bash: Permission denied

See the following for the cause of the above:

    http://cygwin.com/ml/cygwin/2002-03/msg00291.html

This is what I suspected but now it has been confirmed.

HTH,
Jason