Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meson: Don't attempt to detect shadow password header on *BSD and macOS #1778

Merged
merged 1 commit into from
Nov 24, 2024

Conversation

rdmark
Copy link
Member

@rdmark rdmark commented Nov 23, 2024

The shadow passwords concept is only a thing on Linux and Solaris. *BSDs and macOS have their own native mechanisms for securing passwords. So we shouldn't attempt to detect shadow.h and throw a warning when not found on those OSes.

We also now print a fallback passwd in the summary when shadow support not detected. (Not all OSes call this passwd, but I'm using it a shorthand for native password management here.)

@rdmark rdmark linked an issue Nov 23, 2024 that may be closed by this pull request
@rdmark rdmark force-pushed the 1777-meson-shadow-passwords-check-is-invalid-on-netbsd branch 2 times, most recently from 2db99d3 to a3a53ce Compare November 23, 2024 06:35
@rdmark rdmark marked this pull request as ready for review November 23, 2024 06:36
@rdmark rdmark force-pushed the 1777-meson-shadow-passwords-check-is-invalid-on-netbsd branch from a3a53ce to fa917c4 Compare November 23, 2024 06:58
@rdmark rdmark force-pushed the 1777-meson-shadow-passwords-check-is-invalid-on-netbsd branch from fa917c4 to bb9f253 Compare November 23, 2024 18:08
@rdmark rdmark changed the title meson: Check for shadow password symbols meson: Don't attempt to detect shadow passwords on *BSD and macOS Nov 23, 2024
@rdmark rdmark changed the title meson: Don't attempt to detect shadow passwords on *BSD and macOS meson: Don't attempt to detect shadow password header on *BSD and macOS Nov 24, 2024
@rdmark rdmark merged commit 0def4f3 into main Nov 24, 2024
29 checks passed
@rdmark rdmark deleted the 1777-meson-shadow-passwords-check-is-invalid-on-netbsd branch November 24, 2024 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

meson: shadow passwords check is invalid on NetBSD
1 participant