How to prevent the opc or other account to expire


To set the opc password to expire after 1 years instead of 3 months, for example do:

With root:

chage --list opc

chage -M 365 opc

chage --list opc