sudo: who are you?

Wed 2015-03-25

Things not to do with your system #23

ludger@abulafia:/tmp%: sudo mv /etc/passwd /etc/passwd.backup
ludger@abulafia:/tmp%: sudo mv ./passwd /etc/passwd
sudo: unknown uid 1000: who are you?

D'oh.

Fixing this needs a Live-CD unless you are logged in into another terminal as root.

Also relevant:

We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things:

  1. Respect the privacy of others.
  2. Think before you type.
  3. With great power comes great responsibility.

(emphasis mine)

Tags:

This text by Ludger Sandig is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.