Random Project

Script works in CentOS 7

Script works, but it has limitations as below:
– Warning is always overridden by critical value
– It can list only users with exact critical value. That is if password expiry days is 6 and critical value is set to 6, it will list username, but if expiry days is 5 and critical value, 6, it won’t list username; only shows Critical status.
– To improve script more, you can include an option to “include” (same as exclude) users option