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)
Mon, Apr 15, 04:08
Unknown Object (File)
Wed, Apr 10, 13:46
Unknown Object (File)
Sat, Apr 6, 06:19
Unknown Object (File)
Fri, Apr 5, 08:02
Unknown Object (File)
Fri, Apr 5, 08:02
Unknown Object (File)
Fri, Apr 5, 07:35
Unknown Object (File)
Fri, Apr 5, 07:18
Unknown Object (File)
Tue, Apr 2, 10:45
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