News for hackers. Stuff that matters.
Re:Unix Recovery Legend (1986) by irishcoffee on Wednesday September 02, 2015 @05:16PM (#10161936)
One of my coworkers was out in the field trying to fix a problem on a rhel box.

As root, typed in chown -R nobody:nobody / some/dir/somewhere/

Ended up having to re-image the system. We still give him a hard time about it.

Now I'm wondering if he could have tried to find a more creative solution as displayed in TFA.

Thoughts?

Edit: He hard killed the box right after he typed that in.

Re:Unix Recovery Legend (1986) by cperciva on Thursday September 03, 2015 @02:51PM (#10166818)
Bogus file ownership won't prevent you from booting in single-user mode. And once you boot in single-user mode, you're running as root so you can change file ownerships back.
Re:Unix Recovery Legend (1986) by bluesmoon on Wednesday September 02, 2015 @05:21PM (#10161958)
I suppose he could have tried remounting the device read-only, and then using dd to directly update the inode table to change ownership, but, if he was already root, he could have just chown'ed it again.