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

linux · bash · Advanced

-i rewrites the sshd configuration in place, and the substitution re-enables direct administrative login over the network. The change…

The full explanation and danger signals for this pack are part of Pro.

Think you can spot these under time pressure?

Start Training

More Privilege Escalation