外部精选
软件工程
#社区热议Unix 密码哈希曾公开存放于 /etc/passwd 文件中
来源标题:Sshole
早期 Unix 系统将用户密码哈希直接存放在所有用户均可读取的 /etc/passwd 文件中,与用户名并列。1980 年 Bill Joy 为 daemon 账户的密码字段填入 *,使其无法被任何密码匹配,这一做法沿用至今。
Hacker Newsjosemrb2026/11/5 · 12 天前1 分钟阅读
这个来源的 RSS 只提供摘要,下面是原文导语;完整论述请点「打开原文」。
back in old unix your password hash just sat in /etc/passwd, right next to your username. in a file everyone could read.
in 1980 bill joy put a * there for an account called daemon. nobody's supposed to ever log in as it.
a * isn't a hash, so no password can match it. unix still does this today
the next field is the real name. he wrote "the devil himself"
本条为导读摘要,完整论述请以原文为准。