← Learn
Dangerous
sed -i 's/PermitRootLogin no/PermitRootLogin yes/' /etc/ssh/sshd_config

linux · bash · Advanced

Rewrites the SSH daemon configuration in place to allow direct root logins. It reads like a routine configuration tweak and leaves no new files behind, but it re-opens the remote login path that hardening guides close first.

Signals to notice

  • Re-enables direct root SSH login
  • In-place edit with no backup
  • Weakens a deliberate hardening setting

Think you can spot these under time pressure?

Start Training

More Credential Access