外部精选
软件工程
#开发者实时流Unix 早期密码哈希存于可读文件,Bill Joy 用星号锁定 daemon 账户
来源标题:*sshole
早期 Unix 将密码哈希与用户名一起明文存放在所有用户可读的 /etc/passwd 文件中。1980 年,Bill Joy 为不应允许登录的 daemon 账户填入一个星号,由于星号并非有效哈希,任何密码都无法匹配,这一做法沿用至今。
Hacker News 最新stefanv2026/11/8 · 9 天前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"
本条为导读摘要,完整论述请以原文为准。