← Learn
Dangerous
chattr -i /etc/passwd

linux · bash · Beginner

Clears the immutable attribute from the user database so it can be edited again. Hardened hosts set that attribute precisely to stop account tampering, and removing it is the step that precedes it.

Signals to notice

  • -i removes a protection that exists to prevent account edits
  • /etc/passwd defines which accounts exist on the host

Think you can spot these under time pressure?

Start Training

More Persistence