From: Benjamin Tehan <sysadmin@sakon.com.sg>
To: postgreSQL <pgsql-admin@postgreSQL.org>
Subject: RE: [ADMIN] passwords ?
Date: Thu, 24 Feb 2000 11:45:26 +0800
Message-ID: <NDBBJEGMILHHFELACINMOEOFCCAA.sysadmin@sakon.com.sg> (raw)
In-Reply-To: <001101bf7e77$81fe7c10$6e5f60cb@team.xtra.co.nz>
i tried that also and it didnt work
[admin@host3 admin]$ su postgres
Password:
su: incorrect password
[admin@host3 admin]$
If i su postgres from root i dont need to enter a password
Any other ideas ?
-----Original Message-----
From: aubrey [mailto:aubrey.quarcoo@esolutions.co.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@sakon.com.sg>
To: postgreSQL <pgsql-admin@postgreSQL.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@host3 admin]$ su
> Password:
> [root@host3 admin]# su - postgres
> [postgres@host3 pgsql]$ createdb cfsnippets
> Connection to database 'template1' failed.
> fe_sendauth: no password supplied
>
> createdb: database creation failed on cfsnippets.
> [postgres@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@host3 pgsql]$
>
>
> ************
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: sysadmin@sakon.com.sg
Subject: RE: [ADMIN] passwords ?
In-Reply-To: <NDBBJEGMILHHFELACINMOEOFCCAA.sysadmin@sakon.com.sg>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox