Skip to content

MacOS Ventura: password hash not workingΒ #488

Description

@feld

πŸ‘» Brief Description

Password hash appears to be set by the recipe, but does not work.

πŸ₯ž Cookbook version

8.1.10

πŸ‘©β€πŸ³ Chef-Infra Version

Chef Infra Client: 18.2.7

🎩 Platform details

ProductName: macOS
ProductVersion: 13.4
BuildVersion: 22F66

Steps To Reproduce

  1. Get a hash: openssl passwd -1 "abc123" # ($1$UaRWeCmf$9lSnUAiUC5mKr3cWQsCng/)
  2. Run the recipe
  3. Try to change your password, which will request the password you just set:

$ passwd
Changing password for feld.
Old Password:
New Password:
Retype New Password:
passwd: authentication token failurepasswd

πŸš“ Expected behavior

The password you set works on MacOS

I've tried both $1$ (md5crypt) and $6$ (sha-512) variants of the password hash. Neither work. Unclear what is actually required to get a password successfully set on MacOS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions