As a general FYI for AIX. On a vanilla AIX install, you'll need to run ./configure as root in order to find the lastlog. The lastlog file is found within /etc/security, with permissions to allow root and the security group.