PermitRootLogin
The sshd_config setting that decides whether the root account may log in directly over SSH.
In more detail
Set it to no so administrators log in as themselves and use sudo, which leaves an audit trail with their own identity. A validator checks it before a host is reconnected.
Related terms
- sshd — The OpenSSH server program that accepts SSH connections and logs every login attempt.
- root user — The all-powerful administrator account on Linux, with user ID 0, which can read or change anything.
- reconnection gate — An automated check a rebuilt or restored host must pass before it leaves quarantine and rejoins the network.
Taught in
- Recovery & System Validation Testing — Security Operations & Threat Hunting (SOC)
- Who Wrote That Sudoers File? The Journal, rsyslog, logrotate And auditd — CompTIA Linux+ (XK0-006) Exam Prep
- Root Over SSH From Anywhere: Keys, sshd, setuid Files And Attributes — CompTIA Linux+ (XK0-006) Exam Prep
- It Is Slow, Says Everyone: CPU, Memory, Disk And Network Bottlenecks — CompTIA Linux+ (XK0-006) Exam Prep