* [Comm] Re: ???????? ? Postgres
@ 2003-04-03 7:59 ` Artem K. Jouravsky
0 siblings, 0 replies; only message in thread
From: Artem K. Jouravsky @ 2003-04-03 7:59 UTC (permalink / raw)
To: community
[-- Attachment #1: Type: text/plain, Size: 2288 bytes --]
On Thu, Apr 03, 2003 at 11:03:09AM +0900, Alexey Verin wrote:
> Den' doyuryj !
> Vot naschet postgrsa
> log esli ya delayu service postgreql start
>
> Apr 3 10:28:20 lexuse postgresql.all: Password:
> Apr 3 10:28:21 lexuse pam_tcb[2413]: su: Authentication failed for
> postgres from (uid=0)
> Apr 3 10:28:23 lexuse postgresql.all: su: Authentication failure
> Apr 3 10:28:23 lexuse postgresql: Adjusting environment for postgresql:
> failed
>
> delayu
> [root@lexuse home]# su -l postgres -s /bin/sh -c ls
> Password:
> ^^^^^^^^^ otkuda ?????
>
> kstati kogda stavlyu postgresql-server
> [root@lexuse RPMS]# rpm -ivh postgresql-server-7.3.1-alt7.i586.rpm
> Preparing...
> #################################################################################
> postgresql-server
> #################################################################################
> Password:
> su: Application needs to call libpam again
> ^^^^^^^^^^^^^^^^^ vot tut mne ne ochen' ponyatno
> kstati pri zagruzke Gde idiot chroot , tozhe samoe vydaiot
1. Пожалуйста, не пишите в HTML формате :\
2. У вас так же? Похоже, у вас сам su сломан, возможно в PAM
[ujo@ujo ujo]$ sudo cat /etc/pam.d/su
#%PAM-1.0
auth sufficient /lib/security/pam_rootok.so
# Uncomment the following line to implicitly trust users in the "wheel"
# group.
#auth sufficient /lib/security/pam_wheel.so debug use_uid
group=wheel trust
# Uncomment the following line to require a user to be in the "wheel"
# group.
#auth required /lib/security/pam_wheel.so debug use_uid
group=wheel
# Uncomment the following line to implicitly trust users with same user
# id.
#auth sufficient /lib/security/pam_sameuid.so debug
auth required /lib/security/pam_stack.so service=system-auth
account required /lib/security/pam_stack.so service=system-auth
password required /lib/security/pam_deny.so
session required /lib/security/pam_stack.so service=system-auth
session optional /lib/security/pam_xauth.so
--
Best wishes,
Artem K. Jouravsky.
JabberID: ujo@jabber.ru
iFirst Ltd, System Administrator.
-----------------------
Все можно вынести, если знать на чьих плечах.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] only message in thread