1 |
Mariusz P?kala wrote: |
2 |
|
3 |
> This time it's about no entry for postgres in /etc/shadow. :-) |
4 |
> |
5 |
> This line, added to /etc/shadow, would be OK: |
6 |
> postgres:!:12654:0:99999:7::: |
7 |
> |
8 |
|
9 |
Hi Mariusz, |
10 |
|
11 |
This is what I had: |
12 |
|
13 |
postgres:!!:0:0:99999:7:::8021806 |
14 |
|
15 |
This is what I changed it to: |
16 |
|
17 |
postgres:!!:13066:0:99999:7:::8021806 |
18 |
|
19 |
And the problem goes away. But this doesn't make any sense. According to |
20 |
the man pages there should have been no problem to begin with (password |
21 |
expiry was turned off.) |
22 |
|
23 |
Before: |
24 |
# chage -l postgres |
25 |
Last password change : never |
26 |
Password expires : never |
27 |
Password inactive : never |
28 |
Account expires : never |
29 |
Minimum number of days between password change : 0 |
30 |
Maximum number of days between password change : 99999 |
31 |
Number of days of warning before password expires : 7 |
32 |
|
33 |
After: |
34 |
# chage -l postgres |
35 |
Last password change : Oct 10, 2005 |
36 |
Password expires : never |
37 |
Password inactive : never |
38 |
Account expires : never |
39 |
Minimum number of days between password change : 0 |
40 |
Maximum number of days between password change : 99999 |
41 |
Number of days of warning before password expires : 7 |
42 |
|
43 |
Is this a bug or obscurely documented feature for PAM? |
44 |
|
45 |
Thanks, |
46 |
Gabriel |
47 |
|
48 |
|
49 |
|
50 |
-- |
51 |
gentoo-user@g.o mailing list |