windows windows是如何管理用户和密码的?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5915336/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How does windows manages users & passwords?
提问by Avión
I'm doing a research of the encryption methods of Linux and Windows.
我正在研究Linux和Windows的加密方法。
I do know Linux manages his password by the shadowfile (/etc/shadow), encrypting each one (mostly) by MD5or SHAand saving them on that file, but which file does windows uses to manage users & passwords?
我知道 Linux 通过影子文件 (/etc/shadow)管理他的密码,通过MD5或SHA加密每个(大部分)并将它们保存在该文件中,但是 windows 使用哪个文件来管理用户和密码?
Can someone give me a little explanation or any website I can read about it?
有人可以给我一点解释或任何我可以阅读的网站吗?
采纳答案by SQLMenace
The files are C:\WINDOWS\system32\config\SAM
and C:\WINDOWS\system32\config\SYSTEM
这些文件是C:\WINDOWS\system32\config\SAM
和C:\WINDOWS\system32\config\SYSTEM
回答by mdinstuhl
Windows uses something called SAM to store user credentials (http://en.wikipedia.org/wiki/Security_Accounts_Manager). From what I understand, it ispossible to use the more unix-y PAM as well (http://www.oreillynet.com/onlamp/blog/2008/05/microsoft_windows_now_supports.html).
Windows 使用称为 SAM 的东西来存储用户凭据 ( http://en.wikipedia.org/wiki/Security_Accounts_Manager)。据我了解,这是可以使用更多的UNIX-Y PAM以及(http://www.oreillynet.com/onlamp/blog/2008/05/microsoft_windows_now_supports.html)。
Hope this helps!
希望这可以帮助!