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)
Sun, Nov 24, 08:20
Unknown Object (File)
Fri, Nov 22, 16:17
Unknown Object (File)
Fri, Nov 22, 15:58
Unknown Object (File)
Fri, Nov 22, 09:57
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
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