Yeah, my co-worker wound up writing some regex stuff to get what we wanted. This was a crunch thing and didn't have time for much shell scripting. For anyone interested in other flavors the following will output the password expiry stuff in a single-line per user output.
Code:
Solaris (as root);
passwd -as
AIX (as root);
lsuser -a expires minlen minage maxage maxexpired ALL
And for Linux I had to do this which dumps out multiple lines per user;
Code:
for i in `cat /etc/passwd | awk -F: '{print $1}'`; do echo "UserName:\t${i}"; chage -l $i;done
From there it is regex h3ll to get all of this formatted nice and manager friendly. Neither of the flavors looks the same as the other, so you wind up having to write 3 different functions to parse the output.