I can get the date with
chage -l username, but I need to get the exact time. How can I get that?
I don't think it's possible, the details what you get from chage command that's far you get more details about the password details for a user.
[root@LinuxSYS ~]# chage -l linuxuser Last password change : Jun 19, 2019 Password expires : Aug 18, 2019 Password inactive : Sep 05, 11761240 Account expires : Jan 20, 11761191 Minimum number of days between password change : 1 Maximum number of days between password change : 60 Number of days of warning before password expires : 5 [root@LinuxSYS ~]#