Page MenuHomeDevCentral

Disable pam_nologin for SSH connections
ClosedPublic

Authored by dereckson on Apr 28 2017, 09:42.
Tags
None
Referenced Files
F57110943: D975.diff
Sat, Nov 14, 20:07
F56949876: D975.id2495.diff
Wed, Nov 11, 12:28
F56882002: D975.diff
Tue, Nov 10, 09:37
F56829519: D975.id2495.diff
Mon, Nov 9, 17:58
F56794276: D975.diff
Mon, Nov 9, 10:16
F56631579: D975.id2508.diff
Sat, Nov 7, 20:30
F56623184: D975.id2494.diff
Sat, Nov 7, 18:55
F56389458: D975.id2495.diff
Thu, Nov 5, 17:18
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.