Getting settings back after OS crash... new admin & old user

I'm just recovering from an OS crash that took a while to resolve.
http://discussions.apple.com/thread.jspa?threadID=1647853&tstart=0
Now I have a new administrator account with a blank desktop and I can see my old user account in Finder/Users, but I don't see it in System Prefs/Accounts. Reading up on this, I understand I need to do some renaming to recover my settings for Safari, Mail, etc.
http://support.apple.com/kb/TS1876?viewlocale=en_US
http://www.macupdate.com/info.php/id/16620
I'm not clear on what to rename though. Do I want to rename the new administrator account with the old user name or rename the old user name with the new admin name?

I suggest you create a backup administrator id on the system that you are changing!!!
Now I have a new administrator account with a blank desktop and I can see my old user account in Finder/Users, but I don't see it in System Prefs/Accounts. Reading up on this, I understand I need to do some renaming to recover my settings for Safari, Mail, etc.
http://support.apple.com/kb/TS1876?viewlocale=en_US
This procedure seems correct as far as to go. The author assumes that the GUID and UID are the same. You need to verify this.
http://www.macupdate.com/info.php/id/16620
I am not sure this procedure is what you need.
I'm not clear on what to rename though. Do I want to rename the new administrator account with the old user name or rename the old user name with the new admin name?
There seems to be two ways to proceed.
Assigned your old administrator data to your new administrator. To do this, you would rename your new administrator directory to something else then rename your old administrator directory to what ever you selected for the new administrator directory name. You would then verify the Group ID and the user ID.
Or, renamed your old administrator directory. Create a new administrator with the same names as your old administrator was. You can either follow the steps above or copy the data from the old directory to the new with the Finder. Hold down the option key in the Finder to be sure that you are copying the data.
Mac OS X: How to change user short name or home directory name
http://docs.info.apple.com/article.html?artnum=106824
This is tricky stuff.
You need to change these things:
1) Your account information
2) All of your files & folders
One way to change what uid and gid are defined for your account is theNetInfo Manager application. This doesn't change the UID & GID on your files and folders.
Mac OS X ... harddrive -> Applications -> Utilities -> NetInfo Manager
In the middle column is the function. Pick users then select your user. Click on the lock at the bottom of the panel. Go into the property list and change UID and GID."
sudo find -x / -user 501 -exec chown 5464 {} \;
sudo find -x / -group 20 -exec chgrp 211 {} \;
#combined change of uid & gid
sudo find -x / -user 501 -exec chown 5464:211 {} \;
There are two generally used schemes for assigning a group to a user:
1) Assign all users to a common group like staff.
2) Assign each user to their own group. A user like test would be in group test.
Mac OS uses method 1 in 10.2 and method 2 in 10.4.
You should not have multiple users assigned to the same uid. My worry is that if you are only change in the 50x range, you could run into a conflict.
Your best bet is to change to a high number like 5464 on all of your accounts.
On Mac OS, there are a few files that have the old uid as part of their names. The .Trashes file will be on your removal media and maybe everywhere.
/.Trashes/501
/Library/Caches/com.apple.IntlDataCache.501
/Library/Caches/com.apple.IntlDataCache.sbdl.501
/Library/Caches/com.apple.user501pictureCache.tiff
Here are some terminal commands:
Macintosh-HD -> Applications -> Utilities -> Terminal
cd /Applications
Your current user is:
echo $USER
Let's assume myuser
To find out your UID and GID do:
cd ~
ls -ln
ls -l
Or, you can use the id command.
id
compare the output and write down what you find.
You best use the numeric value for your userid. In this case it is 500. To list all the files owned by a userid do:
sudo find / -user 500 -exec ls {} \;
#And you need to do this from an administrator id.
/* adding a -x before the / limits the search to the current file system. *
# To stop the display press control-c
sudo find -x / -user 501 -exec chown 5464 {} \;
#And you need to do this from an administrator id.
Hope this helps a little.
Robert

Similar Messages

  • If I can't find the start up disks, is there anyway to get iWork back after installing a new hard drive?

    I had to install a new hard drive because my orginal one crashed. When I bought my macbook, iWork came pre-installed. Now with a new hard drive I would like iWork back on my computer, but can't find the start up disks, assuming I'd be able to do it that way. Is there anyway I can contact Apple and have them give me the iWork software?
    (Overall, very upset about this since my macbook is only 2 years old and I lost everything. A friend of mine has been working on it for 3 weeks trying to recover some data.)

    - Did you restore from a backup that contained the photos?
    - The backup only contains photos in the iPod's Camera Roll album. It does not included photos synced to the iPod.
    - All you can do is try restoring from backup again.

  • Cannot get librsry back after computer crash

    I had to reload all my software after having a virus and after reinstalling itunes, I cannot get my entire library back on my laptop.  Any help on how to get all my digital copy movies back would be much appreciated.  These were all in my library before.

    Welcome to the Apple Community.
    What do you mean by digital copy movies please.

  • Getting music back after pc crash

    I lost everything on my computer and didn't have any of my itunes backed up, except for on my video ipod. Is there any way to transfer my music from my ipod back to itunes? So far I can't figure it out.

    I found this which seems to have worked...
    http://playlistmag.com/secrets/2006/12/twowaystreet20/index.php

  • TS4036 I can not find my photos or contacts.  Help how do I get them back after a icloud back-up was done due to needed a new phone..

    I cannot find my photos or contacts.  Help how do I get them back after a iclound backup was done due to needed to get a new iphone.  HELP

    I believe I had leopard and I was having issues getting errors of system not being supported. I contacted Apple and was advised I needed to upgrade to snow leopard. My laptop is from 2009 and I haven't done anything to it till now. The apple rep also stated I should do a fresh install when putting snow leopard on so my laptop would run faster. Apple rep told me to get a external hard drive to put my info on it so the fresh install would reset everything to like it was brand new. I had someone help me with getting everything on the EHD.. doing the right format and such and then once that was done I put in the CD for snow leopard and hit install. Which brings me to now, with everything but my pictures. I have the EHD plugged in... now what? What do I do? I have looked in the EHD in iphoto and it was all standard images *not my pictures but images of a check mark or an arrow again not actual pictures. I don't see a folder pictures and i looked for images and found nothing. I have Applications, Included Free Designs, Library, System, User Guides and Information and Users, those are my options and non of those have a "pictures"
    I have iPhoto '09 version 8.1.2 & Mac OS X version 10.6.3

  • How do I get my calculator back after installing the new software

    How do I get my calculator back after installing the new iO7 software?

    I'll assume alot here,?but my guess is you installed the new playforsure firmware for the player. If that is the case then you will need the playforsure plug in for the Creative MediaSource Organizer. You can download it on this creative's site under downloads.

  • My ipad tells me that my icloud email is already used.  That is true.  The one whom it is assigned to is me.  How can I get it back after deleting it?

    My ipad tells me that my icloud email is already used.  That is true.  The one whom it is assigned to is me.  How can I get it back after deleting it?

    Deleting an email account for the the mail app will not have any effect on ther AppleId and its use for other services. You need to delete the old ID and set up the new one for other services suxch as FaceTime, App store, etc.
    It sounds like you are trying to set up a new ID rather that just adding your old one back in. Or maybe I'm missing something.

  • A update(6.1.5) was available for my ipod 4 and an error occurred. Itunes is telling me to restore my ipod, but i know that if i restore my ipod everything will be erased. But will i have the opinion to get everything back after i restore my ipod?

    A update(6.1.5) was available for my ipod 4 and an error occurred. Itunes is telling me to restore my ipod, but i know that if i restore my ipod everything will be erased. But will i have the opinion to get everything back after i restore my ipod? I dont have any music, but i have about 14000 photos. And none of my photos are saved to my laptop. Help Please!

    Photos
    - If they are in an iPod backup then restore from that backup. See the restore topic of:
    iOS: How to back up
    - If you used PhotoStream then try getting them from your PhotoStream. See that topic of:
    iOS: Importing personal photos and videos from iOS devices to your computer
    - Maybe via How to perform iPad recovery for photos, videos
    Wondershare Dr.Fone for iOS: iPhone Data Recovery - Wondershare Official     

  • Trying to upgrade to newest version of iPad software but not enough space on hard drive to backup the iPad. It is saying if I continue all content on iPad will be deleted! Can I get it back after uprade by just synching with itunes?

    Trying to upgrade iPad software to newest version. It downloads but stops while backing up and says not enough space on hard drive to back up if i continue all media on iPad will be lostor deleted.  Can I get it back after upgrade by just synching or can I set it to backup to an external drive?  Thanks for any help.  I only use the laptop for itunes now as it has such little space left.

    I would recommend deleting contents off your hard-drive to make space (how much is left..you should be having 15% free as a general practice) and backing up the phone prior to upgrading.

  • How can i get songs back after erase and sync?

    How can i get songs back after pressing erase and sync by mistake?

    If they are no longer stored in your iTunes library and were only on your iPod, I'm afraid you are out of luck.  Sorry.
    B-rock

  • Can I get music back after formating cpu?

    Can I get music back after formating cpu?

    If the music was RIP'd from CD, then the fastest way is to restore from your backup.
    Since it sounds like you did not have a backup, you will need to reRIP them from your CDs. Nothing else you can do.
    iTunes purchases you can redownload. Open iTunes, go to the store, click on Purchases on the right side under Quick links.
    Then tell the tech who formatted it for you without making a backup or making sure teat YOU made a backup that his rear end has a vacancy sign and your foot is looking for a place to rent.
    and you should make a backup right now of your computer and update teh backup after you RIP all the CDs.
    And make it a regualr practice, like weekly, depending on how much you want to lose.

  • Hi,my apple tv show me only computers and settings only after update the new software

    Hi my apple tv show me only computers and settings only after update the new software

    Try restarting the Apple TV by removing ALL the cables for 30 seconds, or resetting it using the reset option under general. You should also try restarting your router.

  • How to get iphoto back after upgrading to 10.6.8

    how do i get ophoto back after uprgading to 10.6.8

    It should be part of the iLife set that is on one of the installer discs that came with the computer.

  • So a long time ago I accidentally deleted the mail app from my computer. How do I get it back? My computer is an old MacBook running on Mac OS X 10.5.8.

    So a long time ago I accidentally deleted the mail app from my computer. How do I get it back? My computer is an old MacBook running on Mac OS X 10.5.8.

    This Knowledge Base Article may be of some help to you.

  • How to classify new and old user account from idm system using SPML

    hi all,
    i can use SPML code to create new user on IDM system but, i can't classifying new or old user account
    any advise ? very thank you in advanced.
    athikom.

    Hi Vikram,
    Iam not sure though, did you chekced EXIT_SAPMM06E_022 if it helps you in anyway.
    Regards,
    Swarna Munukoti

Maybe you are looking for

  • Problems with the Spry Content Slider Widget in DW6

    Hello there, I have been wrestling with a problem I'm having with the Spry Content Slider Widget that I hope someone has an answer for. I have 2 widgets on a page, but the problem I'm having occurs whether there is 1 or 2 on the page. No matter how m

  • How to enable my ipad2

    how can i enable my ipad2

  • I have some question on "Use LabVIEW to Control two DSP and RTDX"

    I have some question when writing LabVIEW. I have DSP6711 and DSP6416, I use RTDX to send data to LabVIEW. I write three programes for LabVIEW, one is RTDX for DSP6711, another is RTDX for DSP6416, and the final is RTDX for two DSPs. The program of L

  • Advice needed on replacing ibook G3 with MacBook

    We want to give our daughter a MacBook for graduation. She has used an iBook G3 700 MHZ 640 RAM for 4 years. Should we buy NOW or wait until August when she heads to college? What is coming down the pike that would be worth waiting for? Recommendatio

  • SNP Purchase Reqs transfer problem

    Hi, during the SNP Purchase requisitions immediate transfer, the pur reqs are not transferred from a specific location(although this location and products in it are active), pur reqs are transferred without any problem in other locations/products. ho