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, Dec 17, 11:35
Unknown Object (File)
Thu, Dec 12, 17:39
Unknown Object (File)
Sun, Dec 8, 01:18
Unknown Object (File)
Sun, Dec 8, 01:18
Unknown Object (File)
Sat, Dec 7, 01:44
Unknown Object (File)
Fri, Nov 29, 00:02
Unknown Object (File)
Fri, Nov 29, 00:02
Unknown Object (File)
Sun, Nov 24, 08:20
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