As an administrative user, you can create a new user account by using the System Preferences: Users section and simply adding a user. Similarly, you can delete a user. The problem is, the deleted users directory doesn't go away, it is just renamed in the /Users directory to "username Deleted". You cannot throw out the Deleted directory using the finder, even as an administrative user. Here is where being able to get to the Unix core is so great.
With administrative power, you are one command away from deleting that unwanted directory. You are also one command away from deleting everything on your system. Here is the command:
sudo rm -rf /Users/"username Deleted"/
If you were to mistype the username and accidently remove your account, there would be no recovering your files. The destructive potential of the rm command is probably one of the main reasons the root account is somewhat hidden (just my opinion).
[Editor's note: You can use a slightly safer variant of the same command by simply adding and "i" to the "-rf" string; the revised command would read sudo rm -rfi /Users/"username Deleted"/ -- this will have "rm" ask you to confirm each file deletion]
Don't fear the command line, it can be a really great thing. But please, use caution anytime you have to use root privilages to rm a file or do anything else. Other than that, learn vi! Enjoy the Unix that your Macintosh is running.
Anyone know how to move a single user's home -- not the entire 'Users' directory? I travel back and forth between two machines and would like to carry my "home" with me on an external hard drive. I tried editing the home directory in NetInfoManager, but it didn't seem to work.
There's an interesting discussion in this MacNN forum about replacing the "Buy Mac OS X Software" menu item in the new Apple menu with something of your own design.
With some (relatively) simple editing, you can insert your own command to replace the one Apple has provided.
Personally, I haven't missed the Apple menu at all, but I know some people find it essential. Although this is far from the return of the OS 9 Apple Menu, it's interesting if you'd like to know more about customizing your system.
My computer is on DSL behind a router that uses DHCP. The connection was dropped this morning and Mac OS X's DHCP did not log back and in and get the new information from the router. I had to change the Network preferences to BootP, close the panel, and then return and select DHCP again. OS X logged back in to the router.
Is there any way to make DHCP log back in automatically?
If I plug in my mouse while the iBook is sleeping (lid closed) when I wake it my screen comes up for a few seconds and then goes dead. Nothing will wake it, except a complete cold reboot. Also my freshly charged battery went totally flat. This happened twice with 2 different batteries before I realized what was happening. The same crash occurs with the power plugged in except the battery appears unaffected (as expected). I am posting this to Apple but thought I should warn everyone as it can stop you dead if power isn't handy.
User 'pata' writes: "Hello, does anyone know of a way to find the hard disk size and available space short of doing a df -k from the command prompt? Apple, in their infinite wisdom, removed this from the Get Info dialog of a Drive on the Desktop?"
It certainly appears that way. If you do Get Info on a desktop drive icon, you get fairly basic information on kind, where, created, modified, and format, but not on size or usage.
However, if you simply click on that same disk icon, but in a Finder window, the Get Info window changes (on the fly, I love that!) to add Capacity, Available, and Used. So it's still there, but not for drives on the desktop, just for drives in Finder windows.
Reader "parki" wrote in with the question "I recognize that I am likely missing the obvious, but does anyone know how to have apps auto launched when I log in, re-creating the environment when I log out?"
There's at least a partial answer in the System Prefs application. Go to the Login panel, and you can add applications to the list. You can even (apparently) add shell scripts, which opens up a world of possibilities. I was able to add a shell script, but I didn't test it with a logout/login combo. Interesting to think about what you could do, though.
Launching the apps isn't quite totally recreating the environment, but it's a start.
Many people have complained about File Sharing hogging processor cycles, and have reported better system behavior after disabling File Sharing.
I came across the UNIX command nice, which says you can, "invoke a command with an altered scheduling priority." I read this to mean that you could possibly start File Sharing with a lower processing priority, thus causing a reduced drain on system resources.
If anyone is savvy enough to try, please let us know.
[Editor's note: See the comments -- nice is broken in the current release of Mac OS X, so this command will have no impact].