{
  "id": "unix_shadow_entry",
  "kind": "datatype",
  "status": "draft",
  "name": "Unix shadow password file entry",
  "doc": "One line of /etc/shadow on Linux and other Unix systems: nine colon-separated fields with the login name, the hashed password (or ! or * for a locked account), and the password ageing and expiry dates, counted in days since 1970-01-01.",
  "is_pii": true,
  "categories": [
    "secrets"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^[^:\\s]+:[^:\\s]*:[0-9]*:[0-9]*:[0-9]*:[0-9]*:[0-9]*:[0-9]*:[^:\\s]*$",
  "examples": [
    {
      "value": "daemon:*:19000:0:99999:7:::",
      "description": "System account without a password",
      "valid": true
    },
    {
      "value": "example:$1$examples$9syBlMva027I.Vd2Z0JGl1:19000:0:99999:7:::",
      "description": "MD5-crypt hash of the word \"example\"",
      "valid": true
    },
    {
      "value": "root:x:0:0:root:/root:/bin/bash",
      "description": "Line of /etc/passwd, which has seven fields",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://man7.org/linux/man-pages/man5/shadow.5.html"
    }
  ],
  "detected_by": {
    "tools": [
      "semgrep"
    ]
  },
  "quality": {
    "score": 85,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/any/secrets/unix_shadow_entry.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/secrets/unix_shadow_entry.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/secrets/unix_shadow_entry.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/unix_shadow_entry",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/unix_shadow_entry.json"
  }
}