Skip to content
SadPackets home

Locked out by the hardening

Systems › Linux administration › Users & permissionsLinux

Since Friday's SSH hardening at Atelier Brossard, the admins can no longer log in to srv, yet the old export automation still gets in as root. You have root on srv's console: let the admins back in and make the hardening actually hold.

The situation

Marc, in IT at Atelier Brossard, reports that since Julien ran the SSH hardening checklist on srv on Friday, his key is refused and he can no longer log in. Worse, the nightly stock export, an old job on admin-pc that logs in as root, still gets in every night, which is exactly what the hardening was meant to stop. You are on srv's console as root. At the end, Marc's key opens his session again, root cannot log in over SSH at all, srv accepts keys only, the rest of the access policy holds (the paused contractor and the intern stay out, nobody changes group), and sshd still starts at boot.

Topology

srv admin-pc

The network you inherit. Once the lab is running, you open a terminal on the nodes that allow it; the others are reached over the network only.

New to networking? The glossary explains the words our briefs use.