RE: [ADMIN] passwords ?

Поиск
Список
Период
Сортировка
От Hossein S. Zadeh
Тема RE: [ADMIN] passwords ?
Дата
Msg-id Pine.OSF.4.02.10002241643290.32596-100000@otto.bf.rmit.edu.au
обсуждение исходный текст
Ответ на RE: [ADMIN] passwords ?  ("Benjamin Tehan" <sysadmin@sakon.com.sg>)
Список 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 по дате отправления:

Предыдущее
От: "Benjamin Tehan"
Дата:
Сообщение: RE: [ADMIN] passwords ?
Следующее
От: "Benjamin Tehan"
Дата:
Сообщение: Help!!