Check when password was last changed

给你一囗甜甜゛ 提交于 2019-12-03 05:59:39

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!