You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

deleted user nobody

While investigating another problem, I foolishly deleted the user "nobody" in the terminal. Should I recreate it, or not bother? If yes, what are the other account details for "nobody" please?

Mac mini (Late 2012), OS X Mountain Lion (10.8.2)

Posted on Nov 15, 2012 3:31 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 15, 2012 9:30 AM

Restore the directory /var/db/dslocal from the backup you made before carrying out this strange experiment, or from the file dslocal-backup.xar in the parent directory. Then reboot.

3 replies

Nov 15, 2012 6:24 PM in response to Michael Bowyer

Michael Bowyer wrote:

While investigating another problem, I foolishly deleted the user "nobody" in the terminal. Should I recreate it, or not bother? If yes, what are the other account details for "nobody" please?

dscacheutil -q user


indicates:


name: nobody

password: *

uid: -2

gid: -2

dir: /var/empty

shell: /usr/bin/false

gecos: Unprivileged User

deleted user nobody

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.