Page MenuHomeDevCentral

Disable pam_nologin for SSH connections
ClosedPublic

Authored by dereckson on Apr 28 2017, 09:42.
Tags
None
Referenced Files
F54578425: D975.id.diff
Tue, Oct 20, 19:47
F54516184: D975.id.diff
Tue, Oct 20, 06:03
Unknown Object (File)
Mon, Oct 19, 18:42
Unknown Object (File)
Mon, Oct 19, 09:25
Unknown Object (File)
Fri, Oct 16, 20:38
Unknown Object (File)
Sat, Oct 10, 14:26
Unknown Object (File)
Sat, Oct 10, 02:05
Unknown Object (File)
Thu, Oct 8, 19:42
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 1519
Build 1767: 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.