How did “people you might know” find you on social software>>>
Problem: the crond timing task under a certain user (here is the virtual user) is not executed. Check the reason and find that crond does not have the permission to execute
Problem phenomenon: when the crontab view a user (virtual) task is executed, it cannot be viewed normally, indicating that the user authentication authorization is no longer valid, and a new one is needed
# crontab -u virtual -l
Authentication token is no longer valid; new one required
You (virtual) are not allowed to access to (crontab) because of pam configuration.
[ root@gj1 FTPDATA]# crontab -u virtual -e
Authentication token is no longer valid; New one required
you (virtual) are not allowed to access to (crontab) cause of PAM configuration
Use root to reset the virtual user password
# passwd virtual
Changing password for user virtual.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
The crontab command is executed again, the error prompt no longer appears, and the problem is solved
# crontab -u virtual -l
#*/10 17-18 * * * /FTPDATA/ncps_ ftprec/bin/execftp.sh
00 01-05 * * * /FTPDATA/ncps_ ftprec/bin/execftp.sh
Similar Posts:
- git Error: remote: Support for password authentication was removed on August 13, 2021.
- [Solved] {“error_code”:110,”error_msg”:”Access token invalid or no longer valid”}
- [Solved] Access denied for user ‘ODBC’@’localhost’ (using password: NO)
- [Solved] MYSQL Install and Login Error: Access denied for user ‘ODBC’@’localhost’ (using password: NO)
- Su command error Su: permission denied [How to Solve]
- [Solved] Deploying Tomcat connection in Linux Navicat reports error 2059 – authentication plugin ‘caching_sha2_Password ‘cannot be loaded: + Xi input 9 g
- [github] Push remote: Invalid username or password
- MYSQL Login Error: mysqladmin: connect to server at ‘localhost’ failed
- [Solved] Git Error: failed: authentication failed for ‘http: XXXX.git / ”
- [Solved] passwd: Authentication token manipulation error