Since upgrading to Rocky 9.8 I am running as the root at the moment and I wanted to run a command starting with sudo -u apache but when I run the complete command I am now getting a error:
sudo: Password expired, contact your system administrator
sudo: a password is required
I have never seen this before when running the sudo -u apache command. Anyway I decided to check to see if there was a indeed an expire limit on the user and ran a:
chage --list apache
and the results are:
Last password change : May 10, 2024
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : -1
Maximum number of days between password change : -1
Number of days of warning before password expires : -1
So I am not sure what is causing this issue. Was hoping someone had an insight on this.