The problem:
[oracle@host1 ~]$ crontab -l
Authentication token is no longer valid; new one required
You (oracle) are not allowed to access to (crontab) because of pam configuration.
Solution:
when using PAM configuration and switching between users from root with su command (or using sudo from authenticated user using auth key), when the password of the user is expired or about to be expired you may face this problem.
* switch to root
* change the problematic account password (using passwd command)
Check yourself:
* su - [account]
* crontab -l
good luck :-)
[oracle@host1 ~]$ crontab -l
Authentication token is no longer valid; new one required
You (oracle) are not allowed to access to (crontab) because of pam configuration.
Solution:
when using PAM configuration and switching between users from root with su command (or using sudo from authenticated user using auth key), when the password of the user is expired or about to be expired you may face this problem.
* switch to root
* change the problematic account password (using passwd command)
Check yourself:
* su - [account]
* crontab -l
good luck :-)
Comments
Post a Comment