Page MenuHomeDevCentral

Ignore a failure to find pam_nologin\.so in SSH PAM configuration
ClosedPublic

Authored by dereckson on May 13 2023, 10:34.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 19, 05:52
Unknown Object (File)
Mon, Nov 18, 02:51
Unknown Object (File)
Thu, Nov 7, 20:30
Unknown Object (File)
Tue, Nov 5, 08:23
Unknown Object (File)
Fri, Oct 25, 14:31
Unknown Object (File)
Oct 22 2024, 08:50
Unknown Object (File)
Oct 21 2024, 13:19
Unknown Object (File)
Oct 20 2024, 15:42
Subscribers
None

Details

Summary

This fixes has been introduced to solve T1194, mostly for Debian systems.

FreeBSD, /etc/pam.d/sshd is empty.

Fixes T1865.

Test Plan

Deployed on thrayce

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
Complector
$ salt thrayce state.apply roles/core/sshd
[…]
          ID: pam_disable_nologin
    Function: file.comment
        Name: /etc/pam.d/sshd
      Result: True
     Comment: Pattern not found and ignore_missing set to True
     Started: 10:38:53.887257
    Duration: 7.978 ms
     Changes:
[…]
This revision is now accepted and ready to land.May 13 2023, 10:37