Root SSH is disabled. How do admins still do root tasks and keep accountability?
BeginnerProductionSSH & Access Hardening
Answer
Each admin logs in with a personal account and escalates with sudo. Every command is then tied to a named user in /var/log/auth.log / /var/log/secure and the journal, and can be shipped to a SIEM. Shared root passwords are locked (passwd -l root) or stored in a vault for break-glass console access only.
More on SSH & Access Hardening
What are the first sshd_config changes you make on a new production server?BeginnerWhy use a drop-in file in /etc/ssh/sshd_config.d/ instead of editing sshd_config?IntermediateWhy disable SSH password authentication entirely?BeginnerShould you change the SSH port from 22?IntermediateWhat are SSH certificates and why do large fleets use them?AdvancedHow do you restrict what a specific SSH key can do?Advanced