Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Adding a User to Netinfo Database

Adding a User to Netinfo Database
Thread Tools
Mac Enthusiast
Join Date: May 2000
Location: Collie-fornya
Status: Offline
Reply With Quote
Dec 15, 2004, 10:33 PM
 
I stupidly deleted the user "nobody" thinking an external program had added it. I found out it is part of OS X's standard users. Is there a command line way to add it back? I know it was a dumb mistake, but I could use some help.
Suicide Bombers: That never-say-die spirit. No, that's not right.
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Dec 16, 2004, 12:06 PM
 
echo "nobody:*:-2:-2::0:0:Unprivileged User:/var/empty:/usr/bin/false" | sudo niload passwd .

And never do such a stupid thing again
     
mcsjgs  (op)
Mac Enthusiast
Join Date: May 2000
Location: Collie-fornya
Status: Offline
Reply With Quote
Dec 16, 2004, 01:49 PM
 
Angus_D, you are a man among men. Thank you, thank you, thank you. May a thousand blessings reign over you and yours. I really appreciate it.
Suicide Bombers: That never-say-die spirit. No, that's not right.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:12 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2