pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedpasswords ?
4+ messages / 3 participants
[nested] [flat]
* passwords ?
@ 2000-02-24 03:22 Benjamin Tehan <sysadmin@sakon.com.sg>
0 siblings, 0 replies; 4+ messages in thread
From: Benjamin Tehan @ 2000-02-24 03:22 UTC (permalink / raw)
To: pgsql-admin
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]$
^ permalink raw reply [nested|flat] 4+ messages in thread
* RE: [ADMIN] passwords ?
@ 2000-02-24 03:45 Benjamin Tehan <sysadmin@sakon.com.sg>
0 siblings, 1 reply; 4+ messages in thread
From: Benjamin Tehan @ 2000-02-24 03:45 UTC (permalink / raw)
To: pgsql-admin
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]$
>
>
> ************
>
^ permalink raw reply [nested|flat] 4+ messages in thread
* RE: [ADMIN] passwords ?
@ 2000-02-24 05:46 Hossein S. Zadeh <hossein@bf.rmit.edu.au>
parent: Benjamin Tehan <sysadmin@sakon.com.sg>
0 siblings, 0 replies; 4+ messages in thread
From: Hossein S. Zadeh @ 2000-02-24 05:46 UTC (permalink / raw)
To: pgsql-admin
On Thu, 24 Feb 2000, Benjamin Tehan wrote:
> 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
>
Probably because password of postgres account is disabled! :-)
Seriousely, postgres account gets "!!" as its password in /etc/shadow, and
it only means one thing: no one can login to postgres account. This
extends to "su" from another account as well.
But of course most security checks are ignored if you are "root";
including "su" into a disabled account.
cheers,
Hossein
^ permalink raw reply [nested|flat] 4+ messages in thread
* Passwords
@ 2008-06-14 00:21 Tim Allen <battigoal_2006@yahoo.com>
0 siblings, 0 replies; 4+ messages in thread
From: Tim Allen @ 2008-06-14 00:21 UTC (permalink / raw)
To: pgsql-admin
Does postgres have a way toi enforce password complexity to force the database user to pick a password with a minimum number of alphanumeric and special characters.
Thank you.
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2008-06-14 00:21 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-02-24 03:22 passwords ? Benjamin Tehan <sysadmin@sakon.com.sg>
2000-02-24 03:45 RE: [ADMIN] passwords ? Benjamin Tehan <sysadmin@sakon.com.sg>
2000-02-24 05:46 ` Hossein S. Zadeh <hossein@bf.rmit.edu.au>
2008-06-14 00:21 Passwords Tim Allen <battigoal_2006@yahoo.com>
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