Page MenuHomeDevCentral

Disable pam_nologin for SSH connections
ClosedPublic

Authored by dereckson on Apr 28 2017, 09:42.
Tags
None
Referenced Files
F3922662: D975.id.diff
Sat, Dec 21, 04:17
Unknown Object (File)
Tue, Dec 17, 03:21
Unknown Object (File)
Mon, Dec 16, 23:16
Unknown Object (File)
Sun, Dec 15, 03:52
Unknown Object (File)
Wed, Dec 11, 14:54
Unknown Object (File)
Mon, Dec 9, 17:59
Unknown Object (File)
Sun, Dec 8, 08:11
Unknown Object (File)
Sun, Dec 8, 03:48
Subscribers
None

Details

Summary

systemd likes to touch /run/nologin to prevent SSH connections
while not fully initialized, a behavior frowned upon as there
isn't any warranty the file will be removed on system failure.

Furthermore, restrict non root login isn't a solution on servers
where root access isn't possible through SSH.

Fixes T1194.

Test Plan

Running the state on Eglide, output was well the expected diff:

-account    required     pam_nologin.so                                                                                        
+#account    required     pam_nologin.so

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
T1194 (branched from master)
Build Status
Buildable 1520
Build 1768: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Apr 28 2017, 21:12
This revision was automatically updated to reflect the committed changes.