1 |
Hi, |
2 |
|
3 |
When trying to start postgresql (run_init /etc/init.d/postgre start) I |
4 |
got the "Starting PostGreSql" and nothing after, when I do a ps to see |
5 |
what happens, I got this: |
6 |
|
7 |
system_u:system_r:initrc_su_t root 5879 0.0 0.2 2224 932 |
8 |
tty1 S+ 14:16 0:00 su - postgres -c /usr/bin/pg_ctl start -D |
9 |
'/var/lib/postgresql/data' -s -l |
10 |
'/var/lib/postgresql/data/postgresql.log' -o '' |
11 |
system_u:system_r:system_chkpwd_t root 5880 0.0 0.0 0 0 |
12 |
tty1 Z+ 14:16 0:00 [unix_chkpwd] <defunct> |
13 |
|
14 |
So, I tried to do: so - postgres and it "freeze" too. So maybe its not |
15 |
postgres but a problem with pam/su. In the logfile, I have this: |
16 |
Apr 26 14:55:34 [unix_chkpwd] could not get username from shadow (postgres)) |
17 |
|
18 |
However, postgres is a valid user |
19 |
# cat /etc/passwd | grep postgres |
20 |
postgres:x:70:70::/var/lib/postgresql:/bin/false |
21 |
|
22 |
My version of pam is: 0.77-r6 |
23 |
|
24 |
This is the output of the context of /etc/passwd and /etc/shadow |
25 |
|
26 |
-rw-r--r-- root root system_u:object_r:etc_t /etc/passwd |
27 |
-rw------- root root system_u:object_r:shadow_t /etc/shadow |
28 |
|
29 |
Someone have an idea about the problem? |
30 |
Thank you. |
31 |
|
32 |
-- |
33 |
gentoo-hardened@g.o mailing list |