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)
Fri, Oct 25, 14:31
Unknown Object (File)
Tue, Oct 22, 08:50
Unknown Object (File)
Mon, Oct 21, 13:19
Unknown Object (File)
Sun, Oct 20, 15:42
Unknown Object (File)
Sun, Oct 20, 11:25
Unknown Object (File)
Wed, Oct 16, 13:13
Unknown Object (File)
Wed, Oct 16, 13:13
Unknown Object (File)
Wed, Oct 9, 06:15
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