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.