Disable password expiration

chage

sudo chage --maxdays {{-1}} {{username}}

click the source code to copy install chage on any operating system with command-not-found.com