you (oracle) are not allowed to access to crontab

1. Fault description

Use the oracle user to add a backup plan task and execute crontab -e to report the following error:

Insert picture description here

2. Troubleshooting

carried out: chage -l oracle

 The output is as follows:
Insert picture description here

password inactive: aug 11,2020
is shown in the second line of the figure, oracle has lost the right to use crontab on October 11, 2020

Three. Solution

#chage -M -l 99999 oracle
After modifying the oracle password to never expire, you can execute the crontab -e command

Please indicate the source of reprinting:
1. The copyright of the original article marked in the blog belongs to the original author heardic;
2. The content of this article may not be reprinted without the permission of the original author, otherwise it will be regarded as an infringement;
3. The source of the reprint or quotation of this article should be indicated And the original author;
4. I reserve the right to pursue investigations for those who do not comply with this statement or use the content of this article illegally.

Guess you like

Origin blog.51cto.com/13906754/2595688