0
votes
0answers
384 views

Setting Account Picture/JPEGPhoto with dscl in terminal

I'm working on a script based on this question: What steps are needed to create a new user from the command line on Mountain Lion? The script is packaged up in an empty installer as a postflight ...
2
votes
1answer
156 views

Legitimate user or hacker -Terminal?

I have recently used the terminal and entered the command sudo -s and then dscl . -list /users so I could see all accounts/users who have access to my mac. How do I know which names are supposed to ...
2
votes
1answer
2k views

Delete all OS X accounts in terminal when selling laptop

I have an old macbook with some photos on it that I'm trying to sell. I want to keep the OS on there so that someone new can use it, but I have to wipe it through terminal because the screen is mostly ...
19
votes
7answers
12k views

When I open Terminal, I get an “I have no name!” prompt

Suddenly, this morning, I open a Terminal window and I get this: I have no name!@macbook:~$ whoami 502 ** I am not a number! I am a human being! ** What gives? Anyone know what I need to do to ...
1
vote
1answer
796 views

Changed home directory of OSX Server user account, user disappeared, access remains

I'm dealing with my company's Mac Mini (with loads of data I cannot risk on an external drive, but cannot plug out because of below) running Mac OS X Server 10.6.4. My problem was that I needed to ...