Tagged Questions
0
votes
0answers
32 views
Recreate unknown users on crashed mac
About a month back one of our Macs crashed and we had to restore it. The computer had an external drive connected to it and all the data is still there. Though some of the users are "missing". If we ...
2
votes
1answer
1k views
What steps are needed to create a new user from the command line on Mountain Lion?
What commands (or script) can create a fully functional user account on Mountain Lion, running only from the command line via terminal or ssh.
It looks like an existing pair of answers might work, ...
1
vote
1answer
37 views
creating a new user in Mac will it reset everything?
I want to reset all my configurations trying to install MySQL & other development stuff through the terminal on my Macbook and start fresh. Cause it was my first time do this & I think I made ...
14
votes
6answers
7k 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 ...
2
votes
1answer
1k views
username different in Terminal and System Preferences
I am new to Mac.
Recently I realized something for usernames.
When I type whoami in Terminal. It returns apple. However in System Preferences>Users and Groups" there is only one user and it says ...
1
vote
1answer
102 views
I noticed a .myPassword file in my home folder root. Is this supposed to be there?
I ran "$ ls -a" in Terminal from my home directory and it listed a .myPassword file which contained my user account password. Is this file where the password is stored? It seems like it should not be ...
2
votes
4answers
2k views
Find logged on user and network home directory with a bash script
I am trying to use a script to find the username and home directory of the user that is currently logged on to a Mac. This is what I have, and it works, but is there a better (i.e. simpler) way to do ...
1
vote
2answers
814 views
Change Account Password to Blank
I recently changed an account password by accident, and was wondering how to set it back to a blank password via the shell. I have root privileges. Please help :)
passwd USER doesn't accept blank ...
9
votes
3answers
986 views
Log out other user w/o first switching to that user
My wife use separate accounts and quick user switching on a MBP running 10.6. Sometimes I want to log her out to free up some RAM, but I'd like to avoid logging in as her, logging out, then logging ...
3
votes
2answers
593 views
Installing mc (midnight commander) without root access?
How do I do that? The normal installers (with .pkg files) ask for a root password. It is possible to run normal mac software without root access, but how do I run and install this shell software?