Mariusz P?kala wrote:

> This time it's about no entry for postgres in /etc/shadow. :-)
> 
> This line, added to /etc/shadow, would be OK:
> postgres:!:12654:0:99999:7:::
> 

Hi Mariusz,

This is what I had:

postgres:!!:0:0:99999:7:::8021806

This is what I changed it to:

postgres:!!:13066:0:99999:7:::8021806

And the problem goes away.  But this doesn't make any sense.  According to
the man pages there should have been no problem to begin with (password
expiry was turned off.)

Before:
# chage -l postgres
Last password change                                    : never
Password expires                                        : never
Password inactive                                       : never
Account expires                                         : never
Minimum number of days between password change          : 0
Maximum number of days between password change          : 99999
Number of days of warning before password expires       : 7

After:
# chage -l postgres
Last password change                                    : Oct 10, 2005
Password expires                                        : never
Password inactive                                       : never
Account expires                                         : never
Minimum number of days between password change          : 0
Maximum number of days between password change          : 99999
Number of days of warning before password expires       : 7

Is this a bug or obscurely documented feature for PAM?

Thanks,
Gabriel



-- 
gentoo-user@gentoo.org mailing list

Reply via email to