Migrating to new user account: must chown old account's files- I think

Is there a way to selectively chown the files/folders owned by a particular user, while leaving other files/folders untouched? I'm in the process of migrating to a fresh user account on my machine. I copied what I need from the old user's home directory and chowned it recursively, as described on an Apple support page. The support page makes no mention of chowning files/folders elsewhere on the machine, but I've found plenty of stuff in other locations that are owned by the old user:
/Applications (lots of stuff)
/Library (lots of stuff)
/private/var/tmp (a small lot)
/private/var/vm/app_profile/ (2 files)
/usr/local/clamXav/ (1 easily replaceable file)
/usr/local/lib/codec/ (4 files/folders)
I'm planning to delete the old user once I'm confident that everything is working, and I'm not sure what would happen if some critical files are owned by a deleted user. The old user was an admin account, if that matters. Oh, and I'm running OSX 10.4.11 on a PPC mac, if that matters.
Any help appreciated

Niel- that article you linked to is great. Lots of helpful info that's relevant to my situation. Thanks!
After reading the article and comments, I'm a little unsure whether to use "find -L" or just "find" (or "find -P") when finding files that need chowning. It sounds like "find -L" would include symlinks that point to files/folders owned by the old user, regardless of who owns the symlink itself, whereas "find -P" would only include symlinks that are themselves owned by the old user. I think "-P" is what I need (the man page says the -P behavior is the default, so I guess I just need "find" by itself). Someone commented about this, and the article's author acknowledged some of their other suggestions, but not this one. ?
I think if I was going to change ownership of all the old user's files, I'd need to run the following commands on a few directories (/Applications, /Library, etc.):
     find $dir -user $olduser -exec chown -h $newuser {} \;
     find $dir -group $olduser -exec chgrp -h $newuser {} \;
I'd also have to look for filenames that end in the old user's uid, with something like
     find / -name "*501"
     or
     find -L / -name "*501"
However, it occured to me that while there may be files I want that are owned by the old user, there are probably also files I don't want to migrate over, like if the system's already created equivalent files for the new user and I'd be overwriting something that could cause problems. I'm going in circles
At this point I think I'd better make such changes selectively when problems crop up that I think could be solved by doing so, rather than make system-wide changes in one fell swoop. I want to fix small problems, not make big ones.

Similar Messages

  • New User - Looking to access old Quark Xpress files

    Is there a way, other than Q2ID, to make use of text or data from Quark Xpress in Indesign?

    Moved from the Creative Cloud to the InDesign forum. They will be able to help you here.

  • How do I change my iPod onto my new apple account from my old account? It always ask's me for my old password, which I can't remember, and no longer have the email address. Thanks

    How do I change my daughter's  iPod onto my new apple account from my old account? It always ask's me for my old password, which I can't remember, and no longer have the email address. Thanks

    Purchases are locked to the account that purchased them. Thus first try to recovery use of the original account.
    Also, yo have obtain use of the original account to deactivae the Activation Lock
    Find My iPhone Activation Lock
    Is there a way to find my Apple ID Name if I can't remember it?
    Yes. Visit My Apple ID and click Find your Apple ID. See Finding your Apple ID if you'd like more information.
    How do I change or recover a forgotten Apple ID Password?
    If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. See Changing your Apple ID password if you'd like more information.
    The method includes if you do not have access to your original email account.
    The
    I no longer have an email address that was also my Apple ID. Can I still use the email address as my Apple ID?
    Apple recommends you change your Apple ID to your current, working email address. This will not create another Apple ID, it will only change it to your working email address. See Changing the name you use for your Apple ID if you'd like more information.
    CHANGE ID
    Apple ID: What to do after you change your Apple ID
    The ID is used in the following locations and you  have to change them.
    Settings>Messages>Send and Receive
    Settings>FaceTime
    Settings>GameCenter
    Settings>iCloud
    and Settings>iTunes and App store
    You  have to sign out of ID (for iCloud you delete the iCloud account from the iPod) and sign in with other ID.
    Note the following are resolved if you  use Family Sharing (iOS 8 and later):
    - Apps are locked to the account that purchased them.
    - To update apps you have to sign into the account that purchased the apps. If you have apps that need updating purchased from more than one account you have to update them one at a time until the remaining apps were purchased from one account.

  • I m a new user plz give me icloud account bt previous owner she dead and i dont know about this information this phone. plz Help me icloud account as early as possible

    i m a new user plz give me icloud account bt previous owner she dead and i dont know about this information this phone. plz Help me icloud account as early as possible

    Apple is not here and will NOT give you the information. Contact the relatives of the "dead" owner.

  • Migration created new User, can I do without?

    Got a new iMac and I'm migrating from an iBook G4. Set up users on the iMac and then went back to migrate info. While going through all this, Migration Asst. mentions to me that there is already a user with that name on the new computer (duh, I am setting things up the same way as I had them on my G4) and I was asked to rename the user on the OLD COMPUTER. I did so, but when I finished, I couldn't find anything on the iMac. Logged out and found a new user acct with the revised name. Everything was transferred to that user.
    So, I want to use the old info that was transferred with the original user and delete the revised-name user. Not sure how to set up access to all of that. Do I need to redo things? The user I want to stick with is the main one, the admin.
    This is probably basic, but I found it annoying. I just wanted to migrate my stuff to the new machine, to the user I was logged in as.
    Any suggestions or pointing in the right direction would be appreciated.
    Thanks,
    Bryan

    This is probably basic, but I found it annoying. I just wanted to migrate my stuff to the new machine, to the user I was logged in as.
    you can not do that. there is no way to merge two users. certainly, no automatic way to do it. you should decide which user you want to use and stick with that. the best and the easiest is to use the migrated user. if you do it right after you set up the computer there are no issues with that as the originally created admin user account is empty. also, if you use setup assistant during the original computer setup to migrate from the old account it won't even create any other users beside the migrated one.
    Any suggestions or pointing in the right direction would be appreciated.
    Thanks,
    Bryan
    Message was edited by: V.K.

  • My old iPad icloud account has an old account name that I no longer subscribe to and will not let me access it. I need to in order to transfer my info to my new iPad. It won't let me change the account name to access the icloud.

    I am updating my iPad from first generation to fifth. I can access my app store info with no problem, but I cannot access iCloud. It has an account name that is greyed out and it's an account name of a service we no longer subscribe to. I keep getting a window that says user name or password is wrong, but it only gives me an option to enter a password that doesn't match up with that old account name. I need to transfer to the new ipad, but how do I get cloud access?

    You need to reset the password for the "old" account, and then use that to turn off iCloud.  Then you will be able to sign in with your new ID.
    You can reset your password at iForgot.apple.com.
    If you don't know the answers to the security questions, you will need to start there.
    http://support.apple.com/kb/HT5312
    -If you established a rescue email address, there will be a link on the "Passwords & Security" page of id.apple.com.  Clicking the link will send the reset to your rescue email address (NOTE:  This is not the same address as your Apple ID email)
    -If there is no link on the page, then you didn't establish a rescue email address.  Contact AppleCare at 800.694.7466 (If you are in the US), and ask for account security.  You will need to answer some questions to verify your identity, AND you will need access to a computer to generate a temporary support pin.
    -If you are not in the US, click http://support.apple.com/kb/HT5699 - Apple ID: Contacting Apple for help with Apple ID account security
    HTH

  • How can I pay an overdue balance with a new account where the old account is no longer valid?

    I used to live in the UAE and was using my UAE local credit card for my apple accout. I returned recently back home and the old account I had is now no loneger valid,I now have a new credit card, I would like to use my new account to settle the balance I owe on the previous account. Is that even possible?
    If not, is there a way I can download from my app store again as I cannot access it because my new payment details are being 'Declined"
    If there is anyone that can help, please do so.

     Account Security Team (AST) 
    Check the AppleCare number for your country here:
    http://support.apple.com/kb/HE131
    Call them up, and let them know you would like to be transferred to the Account Security Team.
    HT5312: Rescue email address and how to reset Apple ID security questions
    http://support.apple.com/kb/HT5312

  • New user can't see old bus. areas in Admin Version

    Hello,
    I created a business area in the admin version with my old Oracle user id. I have a new Oracle user id. When logging on with the new userid to the admin version, I can't see this business area.
    Yes, I added access to both admin, and end-user to the new user within discoverer
    Yes, I added this business area to the new user within discoverer.
    Is it a DB issue not having "create procedure" or something like it for the new user?
    thnx
    Endre

    When adding a business area to a new oracle login, you also need to check the 'Allow Administration' checkbox for that business area. I'm guessing that is what's missing.
    Regards,
    John Hagel

  • Switching account to new computer can't access old account w/changed email

    I'm trying to access my itunes account on a rarely used pc that was used for my ipod and authorize my account on a new computer. My itunes account had my old email address and I forgot the password, so when I try to access the account and answer the security questions to send a new password, it ends up offering to send it to my old email address which is no longer valid....how can I access the account to change my email, and de-authorize my old computer and get my music etc. synched with my new one?....maybe I can just set up a new account on the new computer and dump my music from my ipod to it?

    To remove the iCloud account you need to delete it.
    Settings > iCloud > scroll to the bottom and tap Delete Acccount

  • Migrated to new iMac - how to retrieve old non-Mac mail?

    I have been using an old MacBook Pro, but recently bought a new iMac. I used the me.com iSync (I think that's what it is called) to sync my Mail accounts to me.com, and then to sync with the new iMac. The Mac mail came over just fine ([email protected]) but I had several other accounts set up in Mail on the MBP - Yahoo, a few Gmail accounts, my web site's accounts, etc. None of the email messages came over. I get new emails on my iMac to these non-Mac accounts, but I would like to transfer over the old ones as well. I have tried to click "Get Mail" but it looks like this just gets new mail.
    Is there a way on my iMac in Mail to retrieve old emails (including Sent emails) from non-Mac accounts? I keep having to go back to my MBP to find/reference old emails.

    Reference Kappy's advice in method 1. I think this would do it for you.
    http://discussions.apple.com/thread.jspa?messageID=12010148&#12010148
    Cheers

  • New "user" created at every login - settings and files lost

    Hi there,
    I've recently replaced a faulty hard disk, re-installed all applications and restored files from backup. I'm using OS X 10.4.11 and an iBook G4.
    Ever since, every time I login, the computer creates a new user and hence my settings and files are not available.
    My user is called e.g."Jack & Jill", but it creates a new user called "iBook" and moves my "Jack & Jill" user to Macintosh HD > Users.
    I can access everything by finding the old "Jack & Jill" user, but it stuffs up using applications because all the settings are under the Library for "Jack & Jill".
    I have tried copying all the files and settings to the "iBook" user, but when I login next time it creates a new "iBook" user, and re-names the previous one "iBook 1" and moves it to the Macintosh HD > Users directory.
    Upshot is every time I login, it's a major hassle to find all my files and get all the settings right.
    Has anyone heard of this problem before and can recommend a solution?
    Cheers,
    Tertullian

    Hi Tertullian, I've seen this, it usually happens when a users name is renamed, whether you did it or it was a spontaneous event...
    Return to default desktop, apparent "loss" of home directory, (it can happen spontaneously too)...
    http://docs.info.apple.com/article.html?artnum=107854
    Have you tried making a new Admin user & see if that one holds between reboots?

  • New user with ipod on old itunes account. How?

    I inherited a macbook with a new job. How do I restart itunes with my ipod touch without losing everything on my ipod when I sync?
    If this were a PC I could uninstall and reinstall itunes to get a fresh start that honors my current ipod, but I don't see how to accomplish this with a mac..

    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities

  • New user can't create an account!

    PLEASE HELP I'M GOING CRAZY HERE
    When I first got my ipod (friday night) i checked out the music store and started to create an account. when i realized i needed a credit card i had to log off untill i found my wallet (hah)
    now i can't seem to get passed the 2nd page. The progress bar continually stalls / freezes a half inch from the end.
    i have tried all the usual suspects: restarting, etc. and think i have exausted all options that i could find in the help articles.
    it almost seems like it's a "busy" day on line. i have dial up - i know a faster connection is better, but please don't tell me i NEED one!
    thanks,
    kim

    i use dial up too and while it is sooo ssslllooowww. it works ok for me though. has your credit card expired, this happened to me, and it said nothing, just wouldn't log on. try deleting the preferences file, this often fixes glitches. also check that you have a valid apple user id. good luck!

  • HT2731 how to change new account since my old account is not existing?

    Can you help me to change my account?

    DId you change the email address or did y create a new ID?
    Maybe:
    iCloud: Account troubleshooting
    Creating an iCloud account: Frequently Asked Questions

  • New user needs help with Email account questions

    Good day - I have been a 10-year user of Blackberrys (Curve, Bold, and earlier models). Just received a new Q10 for work. Enterprise Outlook synched up and I am getting all emails, calendar, and contact information as in the past. All good with this. Here are my questions I cannot find answers to anywhere:
    1) How can I insert a "signature" with emails I compose from Q10?
    2) How can I delete all emails on Q10, rather than one at a time?
    3) How do I set the Q10 to only delete from phone and not network. In other words I only want to delete emails from the Q10 device and not my PC.
    Appreciate any help. Thank you,
    Chris

    #3 is even easier
    Go to Hub settings, then display and actions and drag down, you'll see the option 'delete'.
    Regards.
    Blackberry! Here, now, forever!

Maybe you are looking for

  • Creation of PDF Document  using ADF Table data in new window

    Hi Guys, I have a requirement of creating a pdf document from adf table and it must open in a new window.I know creation of pdf document using itext pdf jar.But in my case how to write the table data to pdf and how to open it in new window. Thanks, S

  • Change in Z-field of LO Extractor no updating to delta que

    DS 2LIS_11_VAHDR is enhanced for field Customer purchase order(VBKD-BSTKD) as zzbstkd. While creating order this fiels is updating in to BW correctly but if some one changes the any order for this field in R/3 transaction VA02, its not creating any e

  • How to connect two phases in the phases in one PI sheet. ?

    Hi Gurus , I have created one control recipe for the one material . In which one operation & two phases are there. For the two phases different control recipe destinations are used. But when i am creationg process order , two PI SHEETs are creating h

  • Dynamically populated schedule w/calculations

    The above image is from an excel spreadsheet that I need to replicate into an HTML table.  The data is pulled from a SQL Server 2005 database, and I'm using CFMX7. Essentially, the table above shows that there are 2 employees, and 1 is available to b

  • Mac mini (intel) vs iMac G5 1.8 GHz

    Hi all, I'm thinking of changing my Apple Computer from a 20" iMac G5 1.8 GHz 1.2 GB RAM to a Mac mini Core Duo 1.66 GHz with 2 GB of RAM with a Apple 23" Cinema Display. Does someone know if that is a "downgrade" in performance? Thanks for your answ