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

nixos/pam: use pam_faillock instead of pam_tally #108325

Merged
merged 1 commit into from Jan 3, 2021
Merged

nixos/pam: use pam_faillock instead of pam_tally #108325

merged 1 commit into from Jan 3, 2021

Conversation

ghost
Copy link

@ghost ghost commented Jan 3, 2021

I'm not entirely sure if anything else needs to be done and if the functionality originally provided by pam_tally still works

Motivation for this change

Fixes #108313

#107185 removed pam_tally, in favor of pam_faillock (see release notes).

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

Fixes #108313

\#107185 removed pam_tally, in favor of pam_faillock (see release notes).
@flokli
Copy link
Contributor

flokli commented Jan 3, 2021 via email

@FRidh
Copy link
Member

FRidh commented Jan 3, 2021

Are there are more relevant pam tests? a001d45 Those all pass.

@FRidh FRidh merged commit 018072e into NixOS:master Jan 3, 2021
@flokli
Copy link
Contributor

flokli commented Jan 3, 2021

Unfortunately, we currently don't have some that test the pam_{tally,faillock} functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

switching users doesn't work since staging merge
2 participants