Bash script to get list of expired local users on Linux

Scenario: How to get the list of expired local users on Linux.
System :
CentOS/RHEL 6/7
IP address: 192.168.99.11
Hostname : horse

Steps:
1) Create the bash script file with file name listchageusers.sh
$ vi /home/bachem/listchageusers.sh

3) Make the file executable
$ chmod +x /home/bachem/listchageusers.sh

4) Finish,run the script as root or sudoers and the output should like below..