← Learn
Dangerous
chown -R nobody:nogroup /etc

linux · bash · Beginner

Reassigns ownership of the entire system configuration directory to an unprivileged account. Services that check ownership before reading their config will refuse to start, and sudo itself stops working.

Signals to notice

  • -R rewrites ownership of every configuration file on the host
  • /etc holds the files that privileged services trust

Think you can spot these under time pressure?

Start Training

More File System