Historical Reasons
20 points
9 days ago
| 4 comments
| exple.tive.org
| HN
rmunn
4 hours ago
[-]
I could agree with giving sysadmins a way to specify a list of disallowed usernames (which would be useful for more reasons than to retire certain usernames, e.g. many sites would probably disallow "admin" as a username, and depending on maturity of the userbase might also find it valuable to forbid profanity as usernames). But it should be in a text file somewhere in /etc, not hardcoded into the source of useradd.c: different sites would have different requirements, and David M. Robertson (a fictional person I just made up, and if that happens to be your actual name then congratulations), who works at a small startup whose standard practice is three-initial usernames, should not be forbidden from using the username dmr just because someone famous also had those initials.
reply
Cthulhu_
4 hours ago
[-]
I've tried to look up whether there's a reserved username list option for these tools but either there isn't one or I suck. One option is to set / reset the NAME_REGEX configuration (or env var?), individual distributions could do this.
reply
JuniperMesos
1 hour ago
[-]
I respect Dennis Ritchie's accomplishments too, but that doesn't mean I want to encode his username as a retired unix username, and in free software projects it's possible for anyone in principle to remove that line of code and rebuild the OS.

I also think that, as important as Unix was for the history of computing, it's also outdated in a lot of ways that I think are holding back computing. We should be reconsidering the use of C to write an operating system at all, as well as the concept of a username in the traditional Unix sense. My ideal operating system wouldn't have `useradd.c` as a concept to begin with.

reply
fifticon
5 hours ago
[-]
mandatory mention: It is tradition to refer to this argument as 'for hysterical raisins', when something kept being done in a certain way, only because of some initial irrational arbitrary choice, is mandated with this argument.
reply
yapyap
2 hours ago
[-]
Cute idea but I disagree, I don’t think it would be too viable
reply