chage -d equivalent

Hello all,

I was wondering if there was a LINUX command equivalent of 'chage -d' on for the following UNIX flavors:

HP-UX
Solaris
AIX

I want to be able to change the aging for an account on each system without inadvertently expiring an account that is like with the "/bin/passwd -x" or '/bin/passwd -n" commands.

Thanks in advance,

For HP-UX, see the usermod command.

If you want to force the users to change their password at next login, the below command works on most of the systems:

passwd -f user_name

For AIX, check [man man chuser ("AIX")](man(1) [centos man page] chuser&section=0&os="AIX"). This not only provides password aging information, also provides many many useful user attributes info.