Skip to content

User authentication failing on macOS ARM #1860

Discussion options

You must be logged in to vote

I've found that copying /opt/homebrew/etc/pam.d/netatalk to /etc/pam.d or /usr/local/etc/pam.d allows authentication to immediately work, no server restart needed.

Looking at the manpage for pam.conf, it seems macOS only searches /etc/pam.d and /usr/local/etc/pam.d for policy files, and there doesn't seem to be a way to add any to the search path. This would explain why authentication happens to work when installed on Intel (with a Homebrew prefix of /usr/local) but not on ARM (with /opt/homebrew). Since writing to either path would require sudo, the formula would have to display a caveat that the file needs to be copied manually.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@EricFromCanada
Comment options

Answer selected by EricFromCanada
@rdmark
Comment options

@EricFromCanada
Comment options

@rdmark
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants