Check when password was last changed

2019-03-15 08:07发布

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?

3条回答
地球回转人心会变
2楼-- · 2019-03-15 08:57

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"
查看更多
【Aperson】
3楼-- · 2019-03-15 09:05

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.

查看更多
该账号已被封号
4楼-- · 2019-03-15 09:10

*nix

Check out the command chage or getprpw

Windows

net user UserName has the information in it

查看更多
登录 后发表回答