RE: [ADMIN] passwords ?

From: "Benjamin Tehan" <sysadmin(at)sakon(dot)com(dot)sg>
To: "postgreSQL" <pgsql-admin(at)postgreSQL(dot)org>
Subject: RE: [ADMIN] passwords ?
Date: 2000-02-24 03:45:26
Message-ID: NDBBJEGMILHHFELACINMOEOFCCAA.sysadmin@sakon.com.sg
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

i tried that also and it didnt work

[admin(at)host3 admin]$ su postgres
Password:
su: incorrect password
[admin(at)host3 admin]$

If i su postgres from root i dont need to enter a password

Any other ideas ?

-----Original Message-----
From: aubrey [mailto:aubrey(dot)quarcoo(at)esolutions(dot)co(dot)nz]
Sent: Thursday, February 24, 2000 11:31 AM
To: Benjamin Tehan
Subject: Re: [ADMIN] passwords ?

try su postgres
password : postgres

----- Original Message -----
From: Benjamin Tehan <sysadmin(at)sakon(dot)com(dot)sg>
To: postgreSQL <pgsql-admin(at)postgreSQL(dot)org>
Sent: Thursday, February 24, 2000 4:22 PM
Subject: [ADMIN] passwords ?

> Ok, I have a small query.
>
> When I goto create a database I cannot create one
>
> I've already created the a new postgres database via initdb and i have run
> postmaster
>
> I never set a password to postgres, and I've tried using the admin/root
> password and yet that doesnt work either.
>
> Any one got any ideas ?
>
> I'm using Linux
>
>
>
> [admin(at)host3 admin]$ su
> Password:
> [root(at)host3 admin]# su - postgres
> [postgres(at)host3 pgsql]$ createdb cfsnippets
> Connection to database 'template1' failed.
> fe_sendauth: no password supplied
>
> createdb: database creation failed on cfsnippets.
> [postgres(at)host3 pgsql]$ createdb -u cfsnippets
> Username: postgres
> Password:
>
> Connection to database 'template1' failed.
> Password authentication failed for user 'postgres'
> createdb: database creation failed on cfsnippets.
> [postgres(at)host3 pgsql]$
>
>
> ************
>

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Hossein S. Zadeh 2000-02-24 05:46:41 RE: [ADMIN] passwords ?
Previous Message Benjamin Tehan 2000-02-24 03:22:35 passwords ?