Authentication token is no longer valid new one required

Authentication token is no longer valid new one required

whenever we type crontab -l command suddenly which through error message Authentication token is no longer valid new one required to troubleshoot this error follow below steps.  Authentication token is no longer valid new one required

This error will come whenever your root password expired and your trying to list the cronjobs using crontab -l command.

[root@arkit71 ~]# crontab -l
Authentication token is no longer valid; new one required
You (root) are not allowed to access to (crontab) because of pam configuration.
[aravi@arkit71 nagiosxi]$ sudo chage -l root
Last password change : password must be changed
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 90
Number of days of warning before password expires : 14
[root@arkit71 ~]# passwd
Changing password for user root.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
[root@arkit71 ~]# chage -l root
Last password change : Feb 03, 2016
Password expires : May 03, 2016
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 90
Number of days of warning before password expires : 14

That’s it your error message will go off.

Authentication token is no longer valid; new one required
You (root) are not allowed to access to (crontab) because of pam configuration.

Thanks. Authentication token is no longer valid new one required

Related Articles
Schedule cronjobs using best examples

crontab linux

Thanks for your wonderful Support and Encouragement

Ravi Kumar Ankam

My Name is ARK. Expert in grasping any new technology, Interested in Sharing the knowledge. Learn more & Earn More

Leave a Reply

Your email address will not be published. Required fields are marked *