2 comments

  • rmunn48 minutes 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.
    • Cthulhu_21 minutes 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.
  • fifticon54 minutes 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.