/etc/ files munged after reinstall

The hard drive on my iMac died (2nd time in 3 years - annoying, but separate issue). Fortunately, I had a good time machine backup, or so I thought.
I got the machine back from the Apple store, booted up from the DVD and restored. After that, the machine would immediately panic on reboot.
Grumble.
Ok, reinstall 10.6 and apply all of the updates. Now the machine, so far as I can tell, is happy again, for the most part.
I open up a terminal and go to sudo -s and it tells me I'm not in the sudoers file.
Wha?
Ok, so I go into directory utility, enable the root user, and su to root.
/etc/sudoers has been replaced by the reinstall with a 0 length file. Fortunately, the original file was renamed to sudoers~orig, so I copy it back, re-disable the root user and sudo works fine as before.
A number of files in /etc were in this condition - 0 length, but with the old file renamed as [file]~orig. Most of them were csh or bash rc files, but the list also included the ssh and sshd config files.
In short, if you have to reinstall snow leopard, and if sudo doesn't work, look for 0 length files in /etc/ that have copies with ~orig on the end of the filename.

Thank you! Since I had to create a new user after my computer crashed, it didn't let me change the persmissions to "Read & Write" for my current user, or even "unlock" on the file. But now knowing that my local files were the issue, I created a new local site folder and downloaded all my files from the remote server. Everything is working as usual now.
Thanks for your help, Murray!

Similar Messages

  • How do I get my music, photo's, bookmarks, etc files back after the HTML Framer virus whiped them out ?

      AVG said I had the HTML Framer virus when I did a scan as I lost everything, even had to reinstall IE and Google Chrome, emails etc. Downloaded everything over but lost my photo's, bookmarks, movies, music, etc. there is about 10% free space on
    disk C and 75% free space on disk D so is my info still there and can I retrieve it some how ? 

    If these tracks are from Apple you can probably download them a second time.  If they are from some other source you will have to refer to that source.
    Downloading (using iOS or computer) past purchases from the App Store, iBookstore, and iTunes Store - http://support.apple.com/kb/ht2519 - enabled with iTunes 10.3 and newer; not all media formats are available in all countries (see: iTunes in the Cloud and iTunes Match Availability by Country - http://support.apple.com/kb/HT5085); apps, books (not audiobooks), music, t.v. shows, and movies (some - not all studios have permitted this).  Downloading previously purchased movies and TV shows requires iTunes 10.6 or later.  Discontinued items not available. For items not included in the iCloud list (e.g., ringtones, audiobooks), or locations or computer systems where iCloud is not (yet?) available, you only get one download per fee paid.  Apple notes it is your responsibility to back up your purchases.
    Select the iTunes Store on the left side of iTunes.
    Click on Purchased on the right side under Quick Links.
    You can re-download your available previous purchases.

  • V18 with win xp sp3, avast and zone alarm no longer attaches files. After reinstall added one file then no more

    Gmail gives no problems. Did not have problem on earlier versions. Incoming attachments seem to be readable

    Please try version 19.0 as many issues are fix in the latest version. Thanks!

  • Firefox will not open on my computer, even after reinstall, with no error message or when I try to run "C:\Program Files\Mozilla Firefox\firefox.exe" -p. Help?

    I recently installed firefox so I could use an adblocker. It installed just fine, and it worked just fine for about three days. Then yesterday it stopped opening. I'm on a Toshiba running Windows 7. The icon highlights when I click on it, but then it stops and won't open the browser at all. When I try to run it with the manual command "C:\Program Files\Mozilla Firefox\firefox.exe" -p, I get the error message, "C:\Program Files\Mozilla Firefox\ refers to a location that is unavailable. It could be on a hard drive on this computer, or on a network. Check to make sure that the disk is properly inserted, or that you are connected to the Internet or your network, and then try again. If it still cannot be located, the information might have been moved to a different location." I installed it to that location, and I don't need a disk. I'm connected to the Internet just fine and my other browsers (Chrome and IE) work the same as always. But they're swamped with ads and I really was happy wih Firefox when it was opening...how can I fix this issue?

    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    Please report back to see if this helped you!

  • How to restore the backup files on time capsule after reinstalled the system

    please can someone help me to restore my backups on time capsule after reinstalled the new system. I tried after finished reinstall but it could not find. I also tried with the migration assistant in utilities, it also doesn't work. I always have time machine backed up all my files but now I can not bring anything back

    ellabs wrote:
    please can someone help me to restore my backups on time capsule after reinstalled the new system.
    What "new system" did you reinstall? 
    Are you upgrading from Leopard to Snow Leopard?
    Or did you reinstall Leopard?  If so, why and how (that may provide a clue)?
    How is your Mac connected to the Time Capsule (use Ethernet for best results)? 
    You may need to repair the backups, per #A5 in Time Machine - Troubleshooting. 

  • After reinstalling CS6 the bridge photo downloader isn't able to read raw files and fails to convert the raw files to DNG. Previously downloaded raw files, now DNG, open up successfully in Camera Raw 7. How do I get the photo downloader to read and conver

    After reinstalling CS6 the bridge photo downloader isn't able to read raw files and fails to convert the raw files to DNG. Previously downloaded raw files, now DNG, open up successfully in Camera Raw 7. How do I get the photo downloader to read and convert raw files. MacBook Pro with Snow Leopard. No such problem before this reinstallation.

    You should install Camera Raw 4.6.
    Visit this page and follow the instructions carefully:
    PC:    http://www.adobe.com/support/downloads/detail.jsp?ftpID=4040
    Mac:  http://www.adobe.com/support/downloads/detail.jsp?ftpID=4039
    -Noel

  • I had to restore my computer. After reinstalling itunes and sincronizing with my ipod, the music files were not organized in itunes as in the ipod: some songs were missing, some albums has no cover? Why is the sincronization not working properly?

    I had to restore my computer. After reinstalling itunes and sincronizing with my ipod, the music files were not organized in itunes as in the ipod: some songs were missing, some albums has no cover? Why is the sincronization not working properly?

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • Can't open PSD file after reinstall windows 7 64 bit

    After reinstalling windows 7 stopped opening some files PSD files. I try to open them with Photoshop version 6, it does not work. I tried to open them on the laptop, same garbage. Tell me what the problem is. And how to fix it.
    Thank you.

    Perhaps these files were corrupted. I can not say how it happened, but it is quite possible. And the files are no longer open, immediately after reinstalling windows? Or not?
    If so, it is quite rare in my opinion. You are very unlucky. Try reinstalling photoshop. Then check these files were opened or not. If not. Then the only option is a special software. I would use on your site this program
    http://www.photoshop.recoverytoolbox.com/
     (it is not free but is very good and is not expensive. But in the future you will immune from such situations. )
    As well you can learn more about your problem here:
    http://www.filerepairforum.com/forum/adobe/adobe-aa/photoshop/207-can-t-open-a-psd-file-through-photoshop

  • Cant open Keynote file after reinstall Keynote.

    Cant open Keynote file after reinstall Keynote.
    File there: https://yadi.sk/d/Alxao3sydmdLQ
    What the problem? Who can help me?

    Tested your file and it is corrupt.
    My only suggestion is to find a backup copy of the file as Keynote files have the reputation of being unrecoverable once they become corrupt.

  • Can I selectively copy files from TM backup after reinstalling OS from dvd?

    Hi everyone,
    I have searched both this forum and the web, and have not been able to find an answer.
    I have two separate questions. First, I have a 2TB external with a 1.5 TB partition for TM, and 500GB for my Aperture library and iTunes videos. I have TM set so it will back up the second partition on the same drive, as well as the internal HDD of my MBP and another external drive to the TM partition. This won't cause any problems when restoring will it? I don't have another hard drive right now to make another backup of the libraries, because my last one crashed.
    I'm planning on doing a reinstall of OSX from the dvds, (Apple's advice) and I was wondering if it's possible to selectively copy things from the TM backup? For example, I would copy the applications over automatically, but I'd want to pick and choose which of the other files to copy back.
    I want to be able to eventually get everything back the way it was with no problems, but I don't want to bring something back that was causing my original problems that caused me to reinstall OSX.
    If necessary, even starting out new, provided I could copy everything back again piecemeal, would be fine. I just want to get these problems to stop!
    Thanks!

    Thanks for your reply. I think that my problems are hardware related, but Apple wants me to try to re-install from scratch.
    What would I miss that's in the Library folder? The only thing I can think of that'd be hard to get back would be emails from Mail, as I think they are stored in there. However, I excluded one of my email address folders anyway, since it was 4 gigs, and it's a Gmail account anyway.
    I just want to make sure that I wouldn't lose anything important.
    Also, when I plug in the TM drive after reinstalling from scratch, it won't try to overwrite my backups with a new, almost blank one will it? I'm assuming no, but I want to cover all my bases, as I'm not that familiar with TM.
    Thanks for your help!

  • Lost all ratings, playlists, etc... after switch to new pc.

    I know there are many topics like this, but I tried everything I found on the subject without any result.
    I bought a new pc and removed my harddrives from the old one to the new one.
    After reinstalling itunes and changing the location of the default itunes media map to the one where my old files are nothing happened.
    I then tried to import the 'iTunes Music Library.xml' file.
    (On a side note, took me a long time to find 'Import playlist' because the threads I was reading didn't mention to  press Ctrl+B to get the old menu bar back.)
    That didn't work. It imported all the music. But no playlists and the tracks lost their rating.
    I then removed the xml and the iTunes Library.itl and replaced them with  automatic backup files I have through crashplan.
    No results, even going back several versions of the back ups.
    The weird thing is these files say the last version of them is 2009 ?
    Before switching pc's I made sure the itunes media map was the one I was using,
    because I remember itunes changing it a couple of time back in the days after updates without asking.
    The location hadn't changed and everything in crashplan was backupped correctly.
    I've been messing with this for hours and I'm close to a panic attack knowing that I still have to connect my iphone for the first time.
    Something tells me that's gonna be misery too. Lost months of pictures etc after switching from 3GS to 5S.
    Anyway, if somebody knows how I can get years of playlists and ratings back, I would be very grateful.

    When itunes upgrades, it saves a copy of the current database in a folder named Previous iTunes Libraries.
    Copy & paste the mose recent one to the folder one level up, and rename it to get rid of the date.
    For example
    itunes/Previous itunes libraries/iTunes Library 2010-03-31.itl
    This shows my last upgrade was 31st March 2010.
    With itunes closed, copy that itl file and paste it in the itunes folder.
    Rename it so it looks like this
    iTunes Library.itl
    You'll have to delete the current (blank) itl file first.

  • Where are iCal, Mail, Address Book, etc. files????

    If we reinstall the OS because of major problems, but the drive files are backed up, can we retrieve Mail, Address Book, iCal, etc. files? Our office assistant is tearing her hair out having to re-do everything. Supposedly it's backed up, but she can't find it...or how to RECOVER her missing data.
    HELP!

    It was "solved" by someone else, who just dragged the files over. We've had nothing but trouble with the machine ever since. I will repost updating with the new problems....

  • I want to transfer all my iPhoto, iTunes, contacts, etc. files from my MacBook, which I am selling to a MacBook Pro. What is the easiest and safest method of achieving this? Can the files backed up on Time Machine be transferred to the Pro?.

    I want to transfer all my iPhoto, iTunes, contacts,documents, etc. files from my MacBook, which I am selling, to a MacBook Pro. What is the easiest and safest method of achieving this? Can the files backed up on Time Machine from the MacBook be transferred to the Pro in some way? I would like to capture the files as they appear on the MacBook, such as "Events" in iPhoto and the various song categories within iTunes without having to rename them all once saved on the Pro, which is the case with photos when I simply save them to thumb drive and import them to the Pro. Sny advice would be appreciated.
    Best regards,
    Rob.

    Michael,
                 Thanks for all your assistance. There is no need for apologies, Migration Assistant did indeed create a second account for the MacBook data. It has just taken me some time to figure out how to access it. I now have all the MB data in one account and the MBP files in another, which suits me fine. In fact, it is an advantage in my case as it keeps the private and business aspects separated.
    I will however try the fatcatsoftware to transfer all the iPhoto files to my iMac, where I keep my main photo library. and it will be of help to keep the events, etc in the transfer. As far as iTunes is concerned, I have HomeSharing on all my computers and this has obviated the need to worry about playlists being transferred successfully. However, HomeSharing did not appear to share the iPhone/iPod apps that were stored on the MB and although these have now come across with the new MacBook account on the MBP, I was wondering whether my iPhone and iPod will be recognised by the MBP and sync with it? Will I need to have the MB account open to achieve this or will the MBP recognise and sync with the iPhone/iPod automatically irrespective of which account is open?
    Thanks for the tip on deauthorising my iTunes account from the MB before sellng. This I will do and I believe the best way to remove all of my data from the hard drive is to reinstall the MacOSX operating system software. Is this the right approach to securely delete everything?
    Thanks again for sharing your expertise and your guidance through this exercise.
    Best regards,
    Rob.

  • I can edit on Premiere Pro 6 files, but after a dozen keystrokes, the space bar and cursor keys stop working while the save function works

    I can edit on Premiere Pro 6 files, but after a dozen keystrokes, the space bar and cursor keys stop working while the save function, render workspace function, export file are still operational. How can I fix it so I may complete my assignment?
    Besides DaVinci Resolve, Adobe Creative Suite 6 is the only software on the machine. I am using Windows 7 Professional 64-bit Operating System on AMD FX 6100 six-Core Processor at 3.31gHz and 32 GB RAM memory. There are two SLI-bridged GTX680 NVidia cards.
    The software was very stable for the last six months, working with 720P proxy files from 2.5K masters (Blackmagic Design Camera). I am working on a feature-length project that exceeds 1000 edits. I have broken the file into 2 one hour segments.
    I have deactivated the software before reinstalling the entire OS from scratch. PP6 was very stable for 48 hours. Then the freezing space bar returns. After a dozen strokes into the project, same problem.  I have made cache files store next to originals, I have deleted preview files if they were corrupted and causing instability. Am I missing something?
    I have Microsoft Security Essentials for virus protection. I double checked the memory for damage/defect. Nothing says that the motherboard or other components are damaged.
    I am in film competition overseas and need to have deliverables in less than a month's time.  I lost the last two weeks troubleshooting and this crisis came at an inopportune moment of the project.
    Any assistance would be greatly appreciated.

    Still getting software freezes but found a way to mitigate for the mean time.
    Upon launching Adobe Premiere Pro, hit CTRL-ALT-DEL to launch TaskManager as well.
    You will want to highlight Adobe QT32 Server.exe
    Right click and select "End Process Tree"
    You will get considerable stability in the program, long enough to get timing of cuts done. Be sure to save often.
    If the program freezes, do not hit Save. You definitely want to avoid saving the corruption into your TimeLine
    CTRL-ALT-DEL to relaunch the TaskManager and highlight Adobe Premiere Pro.exe
    Right-click to "End Process"
    No need to reboot the whole system; just launch Premiere Pro again and continue with the session. Note that your work reverted to Last Save.
    Hope this helps until the bug is fixed.

  • Troubleshooting after reinstalling the software that came with my macbook

    Hi, I'm a new user of mac products and my macbook crashed refusing to start up (it would just turn on and keep loading till froze).
    I followed exactly the steps "Problem meet solution" in the little manual and had to use the Mac OS X Install Disk 1.
    The disk utility repaired the HD volume (error found: incorrect block count for file flatfile.db - should have been 708 instead of 354), then still couldn't start up on HD. Did it all over again, repaired HD again (this time error: incorrect block count for file .store.db - should have been 5202 instead of 2601), but this time went further selecting "continue" and reinstalling Mac OS X from the discs that came with my macbook. Reinstalled - successfully finally - by chosing the option "previous settings archived in new file".
    The only problem i had was at login ... it would not recognize my user password... which was the same one since i first turn on my new bought macbook. Anyways, i used again the disc 1, selected change my password and this time i managed to sign in with the new one (same old user).
    1)NOW, question: do i have to re-update my software? Because before I had Mac OS X 10.5.2 (i always kept my computer up to date) and now, after reinstalling the software I have Mac OS X 10.5
    or i should be able to reactivate them from the Previous Systems file (in this case how do i do that?
    2) Can't figure still out my master password that unlocks the file vault plus i can't activate again the root admin user from Directory Utility ... i click it but doesn't do anything. Why is this and how can be sorted out?
    my macbook details:
    Model Name: MacBook
    Model Identifier: MacBook3,1
    Processor Name: Intel Core 2 Duo
    Processor Speed: 2.2 GHz
    Number Of Processors: 1
    Total Number Of Cores: 2
    L2 Cache: 4 MB
    Memory: 1 GB
    Bus Speed: 800 MHz
    Boot ROM Version: MB31.008E.B02
    SMC Version: 1.24f2
    Could someone help me with this? Please note it's my first time troubleshooting a computer ever and that my knowledge is not that vast in the field ... so please use simple steps/terms that i can follow.
    Thank you,
    Laurie

    Thank you very much for answering so prompt to my questions.
    1) yes, i will take all the updates. and ok, i won't touch the previous systems file
    2) in regards to master password ... i tried all the passwords i ever used. not sure it's just "forgetting". Reason: as I mentioned before: The only problem i had after reinstalling the software was at login ... it would not recognize my user password... (and I add, nor the master password) which was the same one since i first turn on my new bought macbook.
    As i couldn't sign in, used again the disc 1 to reset my administrator password and it did save but with the notice that i should "use the keychain access to reset the password for users login" .This time i managed to sign in with the new one (same old user). Then I went to the keychain clicked login and changed the password for keychain login. Did i do good? do I have to change something else. please let me know as don't really know.... i just follow help advice.
    3)in regards to root password ... i had it also before ... using help on "security" issue ... as i connect to different networks ... i read that one could help ... please understand that i'm learning as i go, as this time i don't have someone else to do those things for me. so why doesn't it activate anymore? and why would it be better not to activate it?
    4)speaking of learning, from my initial post where i posted the errors that my disk utility found ... what do u think caused my computer to freeze? i was browsing on safari facebook as well as I had both yahoo messenger and skype opened... first the messenger froze, then crushed, then i restarted it , then froze, then all the rest froze, without responding to force quit.
    5) after reinstalling the software, i still have yahoo messenger and other applications.... is that safe to use now? they are still in my applications
    and last 6) did I do everything correct when my computer would not start up?
    thank you
    laurie

Maybe you are looking for

  • Error in tutotial "How to ...  Build a Web Dynpro Application"

    Hi, I deployed this tutorial in my WAS 6.40 and had the configuration in the SLD and in the Jco connection. When I tried to execute it I received the messages below: Error stacktrace: com.sap.tc.webdynpro.services.exceptions.WDTypeNotFoundException:

  • 2nd Display not working on iMAC

              I have a 2nd display that has recently stopped working with my iMAC - I had issues with the second monitor before I upgraded to 10.9 - then the problems went away ... had a bad storm one night and power flickered on / off.  And can't get it

  • WBS element field in the customer line item

    Hi Experts Clientu2019s requirement is to populate the WBS element in the customer line item. Field status of Posting key -01 for WBS element is u2013 Optional Field status of Customer recon a/c  for WBS element is u2013 Optional Still in the custome

  • "Your video is turned off" on Skype for Mac

    Recently, my iMac is displaying "Your video is turned off" when I try to videoconference with some other Skype users. I have Skype 6.3 installed. My wife is overseas for 6 months, and she is using a MacBook with Skype 2.8 installed. She refuses for p

  • Unable to bring up reporting services, getting following error

    <ApplicationArchitecture>AMD64</ApplicationArchitecture> rshost!rshost!1c0c!03/10/2015-01:08:12:: i INFO: CLR runtime is initialized. rshost!rshost!1c0c!03/10/2015-01:08:12:: i INFO: Derived memory configuration based on physical memory as 33553912 K