Displaying 1 result from an estimated 1 matches for "difficult123".
2011 Jun 23
2
Chicken and egg question: passwd and cronjob
Hi all,
Let's say I activate password expiration for every account (including
root) for every 90 days.
I understand that cronjob for root will fail when the password expires.
The question is, if I setup a cronjob every 90 days to renew the root
password like: echo diFficulT123 | passwd --stdin root
will it work?
I mean at second 1 on the 90th day, which will run first?
- The cronjob to renew the password
- Or the password expiration, thus preventing the cronjob from running.
Pardon me if it's silly.
I know it's bad to change password from script, but the root a...