How do I check when 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?
chage -l UserName
net user UserName | find /I "Password last set"
In Windows (user part of a domain):
net user UserName /DOMAIN | find /I "Password last set"