如果 ubuntu 中的 root 密码过期,如何允许 cron 运行

如果 ubuntu 中的 root 密码过期,如何允许 cron 运行

已为root账户设置密码过期,root账户密码过期后,不会执行root权限的cron命令。

我可以跳过 cron 的 pam_unix.so 身份验证吗?

May 17 17:39:01 AIOS50 CRON[3556]: Authentication token is no longer valid; new one required
May 17 17:39:01 AIOS50 CRON[3557]: Authentication token is no longer valid; new one required
May 17 17:39:01 AIOS50 CRON[3555]: Authentication token is no longer valid; new one required
May 17 17:39:01 AIOS50 cron[11919]: Authentication token is no longer valid; new one required
May 17 17:39:01 AIOS50 CRON[3554]: Authentication token is no longer valid; new one required
May 17 17:39:01 AIOS50 cron[11919]: Authentication token is no longer valid; new one required
May 17 17:39:01 AIOS50 CRON[3553]: Authentication token is no longer valid; new one required
May 17 17:39:01 AIOS50 cron[11919]: Authentication token is no longer valid; new one required
May 17 17:39:01 AIOS50 CRON[3552]: Authentication token is no longer valid; new one required

相关内容