FAILED to authorize user with PAM (Authentication token is no longer valid; new one required)


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » System Level » SSH

FAILED to authorize user with PAM (Authentication token is no longer valid; new one required)Last Modified: Jul 12, 2017, 3:54 pm
Report of cronjobs not being able to run due to expired pam token.
This basically means there was an expiry set on the password of the account, so the password needs to be reset.

To see the current password restrictions on a given User , run this as root:

chage -l fred

which might display

Last password change                                    : password must be changed
Password expires                                        : password must be changed
Password inactive                                       : password must be changed
Account expires                                         : never
Minimum number of days between password change          : 0
Maximum number of days between password change          : 14600
Number of days of warning before password expires       : 14

If you wish to remove any restrictions, then type:

chage --maxdays 0 fred


© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST