RE: [ADMIN] passwords ? - Mailing list pgsql-admin

From Hossein S. Zadeh
Subject RE: [ADMIN] passwords ?
Date
Msg-id Pine.OSF.4.02.10002241643290.32596-100000@otto.bf.rmit.edu.au
Whole thread Raw
In response to RE: [ADMIN] passwords ?  ("Benjamin Tehan" <sysadmin@sakon.com.sg>)
List 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



pgsql-admin by date:

Previous
From: "Benjamin Tehan"
Date:
Subject: RE: [ADMIN] passwords ?
Next
From: "Benjamin Tehan"
Date:
Subject: Help!!