Question

How do I check when the password was last changed for some user? I would like to do it both on Windows and Linux, can you guide me a little how can I do that?

Was it helpful?

Solution

In Linux:

chage -l {username}

In Windows:

net user {username} | find /I "Password last set"

In Windows (user part of a domain):

net user {username} /DOMAIN | find /I "Password last set"

OTHER TIPS

*nix

Check out the command chage or getprpw

Windows

net user UserName has the information in it

net user UserName /DOMAIN | find /I "Password last set"

This command is useful and was able to check my last password change date and time.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top