RE: [ADMIN] passwords ?

From: "Hossein S(dot) Zadeh" <hossein(at)bf(dot)rmit(dot)edu(dot)au>
To: postgreSQL <pgsql-admin(at)postgreSQL(dot)org>
Subject: RE: [ADMIN] passwords ?
Date: 2000-02-24 05:46:41
Message-ID: Pine.OSF.4.02.10002241643290.32596-100000@otto.bf.rmit.edu.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, 24 Feb 2000, Benjamin Tehan wrote:

> 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
>

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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message admin 2000-02-24 06:45:10 the PostgreSQL server is not responding
Previous Message Benjamin Tehan 2000-02-24 03:45:26 RE: [ADMIN] passwords ?