Re:Sshole
by mort96 on Thursday November 05, 2026 @02:10PM
(#50383087)
Yeah but it's not forwards compatible with future hashes where '*' is suddenly a legal hash, which is what happened here. You need a grammar which lets you tell the difference at the parsing stage between "this is a password hash" and "this account has no password". That's not the same as letting the value '*' flow through the system as normal and hope it doesn't happen to match the hash.
[ Parent
| on HN ]
Re:Sshole
by SoftTalker on Thursday November 05, 2026 @05:57PM
(#50385735)
True, but if they would have picked ?, or #, or any character other than * with its designated special meaning in the /etc/shadow file, then we would not be in this pickle.
hashes can't start with * and there's no reason to think they ever will