mirror of
https://github.com/ovh/the-bastion.git
synced 2026-05-09 08:25:27 +02:00
[PR #464] [MERGED] Adjust etc/pam.d/sshd.rhel configuration #502
Labels
No labels
answered
bug
documentation
enhancement
enhancement
feature
feature
kept-open-for-info
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/the-bastion#502
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ovh/the-bastion/pull/464
Author: @codyro
Created: 4/6/2024
Status: ✅ Merged
Merged: 4/8/2024
Merged by: @speed47
Base:
master← Head:rhel9-sshd-pam📝 Commits (1)
e8a9258Adjust etc/pam.d/sshd.rhel configuration📊 Changes
1 file changed (+2 additions, -1 deletions)
View changed files
📝
etc/pam.d/sshd.rhel(+2 -1)📄 Description
Due to
pam_tally2.sonot being readily available in RHEL/derivatives (base/EPEL), it was commented out of thepam.d/sshdtemplate used for RHEL. However, this change didn't take into account thepam_succeed_if.somodule skipping a specific number of rules, and commenting out this rule without adjusting thedefault=line caused strange behavior in certain configurations.I adjusted the
default=line to account for this and added a verbose comment to the template for future people.The templates for the other distributions look fine.
Signed-off-by: Cody Robertson <cody@nerdymuffin.com>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.