问题
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?
回答1:
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"
回答2:
*nix
Check out the command chage or getprpw
Windows
net user UserName
has the information in it
回答3:
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.
来源:https://stackoverflow.com/questions/11781144/check-when-password-was-last-changed