Re: Switch to Linux Dev Questions

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: operationsengineer1(at)yahoo(dot)com
Cc: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Switch to Linux Dev Questions
Date: 2006-05-06 15:53:16
Message-ID: 20060506155316.GB3434@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Fri, May 05, 2006 at 22:13:37 -0700,
operationsengineer1(at)yahoo(dot)com wrote:
>
> why do i have to su to root before i su to postgres
> (in order to run psql)? i tried to su from my
> username and it asked for a password and said
> authentication failed - there is no password.

Note that you don't need to switch the unix user to postgres to connect
to the database as the database user postgres. Use the -U option for psql.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message operationsengineer1 2006-05-06 17:11:55 postgres db deleted and recreated... "No directory, logging in with HOME=/" error...
Previous Message operationsengineer1 2006-05-06 15:27:09 Re: Switch to Linux Dev Questions