chage looks for: /etc/pam.d/chage since it isn't found, it accesses: /etc/pam.d/other And access is denied. This should allow a normal user to view his password aging information. Instead: $ chage -l drobbins chage: PAM authentication failed
this is now fixed for root in shadow-4.0.1.ebuild but not for other users. This may be a problem with the chage program itself since it shouldn't check the same pam entry if we're just doing a chage -l.
I can get it to ask for login each time, and on correct passwd, to work properly, but this is not the correct behaviour. Ill fiddle with pam some more.
Ok, fixed /etc/pam.d/chage, work for root in all occations, and only for the user with no args (give help) and with chage -l <his username>. With any other username for user, it fails auth.