Tag Archives: bash expired users linux

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
Continue reading