Which files store the information about user with non expiring password in case of HP-UNIX like /etc/shadow in linux
In case of solaris which file store the info about user with non expiring password
With HP-UX you'll need to know whether it is a Standard system or a Trusted system.
For a Standard system all the information is in /etc/passwd. There is no /etc/shadow file.
The "logins -xto" command gives all the information in format suitable for further processing in shell.
For a Trusted system the information is elsewhere. See "man 4 passwd".