Sudoers file is empty - along with several others

Note: This is a repost because I got no reply when I posted last week.
So, what would you think of a /etc/ that had a lot of empty files - passwd, sudoers, etc.
In several posts a well respected contributor stated: "If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator."
I would normally think is right but .... After doing an fresh install of Mt. Lion to 10.8.2 with a migration of user data and other setting from a seperate disk, I am getting the "<username> is not in the sudoers file..." error message for admin users in the terminal - for all sudo commands ....
Confused I went and created a new admin user and tried again ....same ....
I went ahead and software updated to 10.8.4 with all other updates and then back to the terminal. Same thing .....
I then typed this at the terminal
   cat /etc/sudoers
and nothing happened ....odd.... so then
   la -lsaG /etc/sudoers
and the sudoers file size is 0 ( zero ) .... odd ....
so then
   la -lsaG /etc/
and I notice lots of critical security related files are empty - 0 bytes - nothing in them....
Thinking " *** and have I been hacked" and "How can a fresh install of Mt Lion, well protected from the interwebs be hacked allready."
So, the question: What would a senior sysadmin type or an apple expert think of a /etc/ that had a lot of empty files - passwd, sudoers, etc.
Thanx for taking a look....
Here's the /etc situation.....
-bash-3.2$ ls -lsaG /Volumes/MtLion_10.8.2/etc/
total 1456
  0 drwxr-xr-x  113 root  wheel       3842 Jun 15 20:57 .
  0 drwxr-xr-x@   6 root  wheel        204 Jun 15 19:35 ..
  8 -rw-------    1 root  wheel         24 Jun 15 15:56 AFP.conf
  8 -rw-r--r--    1 root  wheel          7 May 31  2012 RemoteManagement.launchd
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:28 afpovertcp.cfg
  8 lrwxr-xr-x    1 root  wheel         15 Jul  7 17:54 aliases -> postfix/aliases
  0 -rw-r-----    1 root  wheel          0 Jun 15 19:31 aliases.db
  0 drwxr-xr-x   10 root  wheel        340 Jun 15 19:41 apache2
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:31 asl.conf
744 -rw-r--r--    1 root  wheel     379235 Jun 15 19:44 authorization
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:56 authorization.merge
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:30 auto_home
  0 -rw-r--r--@   1 root  wheel          0 Feb 26  2010 auto_master
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:30 auto_master~orig
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:30 autofs.conf
  0 -r--r--r--@   1 root  wheel          0 Jun 15 19:30 bashrc
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:30 bind.keys
  8 -rw-r--r--    1 root  wheel       1033 Feb  1  2010 com.apple.named.conf.proxy
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:51 com.apple.screensharing.agent.launchd
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:31 csh.cshrc
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:31 csh.login
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:31 csh.logout
  0 drwxr-xr-x   10 root  _lp          340 Jun 15 19:45 cups
  0 drwxr-xr-x    3 root  wheel        102 Jun 20  2012 defaults
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:31 dnsextd.conf
  0 -rw-rw-r--    1 root  operator       0 Mar  3  2008 dumpdates
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:31 efax.rc
  0 drwxr-xr-x    4 root  wheel        136 Jun 20  2012 emond.d
  0 -rw-r--r--    1 root  wheel          0 Aug 16  2012 find.codes
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:15 fstab.hd
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:31 ftpd.conf
  0 -r--r--r--@   1 root  wheel          0 Jun 15 19:31 ftpd.conf.default
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:28 ftpusers
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:15 gettytab
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:15 group
  0 -rw-r--r--@   1 root  wheel          0 Apr 12  2012 group~previous
  8 -rw-r--r--    1 root  wheel        202 Sep 22  2009 hostconfig
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:15 hostconfig~orig
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:15 hosts
  0 -rw-r--r--    1 root  wheel          0 Aug 16  2012 hosts.equiv
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:31 ip6addrctl.conf
  0 -r--r--r--@   1 root  wheel          0 Jun 15 19:31 irbrc
  0 -rw-r--r--    1 root  wheel          0 Aug 16  2012 kern_loader.conf
  8 -rw-------    1 root  wheel       1319 Feb 27  2008 krb5.keytab
  8 lrwxr-xr-x    1 root  wheel         39 Jul  7 17:54 localtime -> /usr/share/zoneinfo/America/Los_Angeles
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:31 locate.rc
  0 drwxr-xr-x    2 root  wheel         68 Aug 16  2012 mach_init.d
  0 drwxr-xr-x    2 root  wheel         68 Aug 16  2012 mach_init_per_login_session.d
  0 drwxr-xr-x    2 root  wheel         68 Aug 16  2012 mach_init_per_user.d
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:31 mail.rc
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:31 man.conf
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:31 manpaths
  0 drwxr-xr-x    2 root  wheel         68 Aug 16  2012 manpaths.d
  0 -rw-------    1 root  wheel          0 Apr 12  2012 master.passwd
  0 -rw-------    1 root  wheel          0 Jun 15 19:15 master.passwd~orig
16 -rw-r--r--@   1 root  wheel          0 Jun 15 19:15 moduli
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:28 named.conf
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:31 nanorc
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:31 networks
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:31 newsyslog.conf
  0 drwxr-xr-x    5 root  wheel        170 Jun 15 19:31 newsyslog.d
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:30 nfs.conf
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:24 notify.conf
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:31 ntp-restrict.conf
  8 -rw-r--r--@   1 root  wheel         23 Dec 18  2012 ntp.conf
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:30 ntp_opendirectory.conf
  0 drwxr-xr-x   10 root  wheel        340 Jun 15 19:30 openldap
  0 drwxr-xr-x   17 root  wheel        578 Jun 15 19:29 pam.d
  0 -rw-r--r--@   1 root  wheel          0 Apr 12  2012 passwd
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:15 passwd~orig
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:31 paths
  0 drwxr-xr-x    2 root  wheel         68 Aug 16  2012 paths.d
  0 drwxr-xr-x    5 root  wheel        170 Jun 20  2012 periodic
  0 drwxr-xr-x    3 root  wheel        102 Jun 20  2012 pf.anchors
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:30 pf.conf
24 -rw-r--r--@   1 root  wheel          0 Jun 15 19:15 pf.os
16 -rw-r--r--@   1 root  wheel          0 Jun 15 19:30 php-fpm.conf.default
48 -r--r--r--@   1 root  wheel          0 Jun 15 19:30 php.ini.default
48 -r--r--r--@   1 root  wheel          0 Apr 12  2012 php.ini.default-5.2-previous
48 -r--r--r--@   1 root  wheel          0 Dec 15  2010 php.ini.default-5.2-previous~orig
  0 drwxr-xr-x   24 root  wheel        816 Jun 15 19:41 postfix
  0 drwxr-xr-x    2 root  wheel         68 Aug 25  2012 ppp
  0 -r--r--r--@   1 root  wheel          0 Jun 15 19:30 profile
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:15 protocols
  0 drwxr-xr-x    4 root  wheel        136 Jun 15 19:31 racoon
  0 drwxr-xr-x   30 root  wheel       1020 Jun 20  2012 raddb
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:15 rc.common
  0 -r-xr-xr-x@   1 root  wheel          0 Jun 15 19:15 rc.imaging
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:29 rc.netboot
  8 lrwxr-xr-x    1 root  wheel         22 Jul  7 17:54 resolv.conf -> ../var/run/resolv.conf
  0 -rw-r--r--    1 root  wheel          0 Aug 16  2012 rmtab
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:15 rpc
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:31 rtadvd.conf
  0 drwxr-xr-x    7 root  wheel        238 Jun 20  2012 security
376 -rw-r--r--@   1 root  wheel          0 Jun 15 19:15 services
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:15 shells
  8 -rw-r--r--    1 root  wheel       2974 Apr 29  2011 smb.conf
  8 -rw-r--r--    1 root  wheel       2954 Apr 29  2011 smb.conf.old
  0 drwxr-xr-x    4 root  wheel        136 Jun 20  2012 snmp
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:15 ssh_config
  8 -rw-------    1 root  wheel        668 May 22  2008 ssh_host_dsa_key
  8 -rw-r--r--    1 root  wheel        590 May 22  2008 ssh_host_dsa_key.pub
  8 -rw-------    1 root  wheel        963 May 22  2008 ssh_host_key
  8 -rw-r--r--    1 root  wheel        627 May 22  2008 ssh_host_key.pub
  8 -rw-------    1 root  wheel       1675 May 22  2008 ssh_host_rsa_key
  8 -rw-r--r--    1 root  wheel        382 May 22  2008 ssh_host_rsa_key.pub
  0 -rw-r--r--@   1 root  wheel          0 Apr 12  2012 sshd_config
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:15 sshd_config~orig
  0 -r--r-----    1 root  wheel          0 Jun 15 19:31 sudoers
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:15 syslog.conf
  0 -rw-r--r--@   1 root  wheel          0 Jun 15 19:15 ttys
  0 -rw-r--r--    1 root  wheel          0 Aug 16  2012 xtab
  0 -r--r--r--@   1 root  wheel          0 Jun 15 19:31 zshenv
-bash-3.2$

I am still looking for an answer or at least some sort of a Apple sysadmin point of view on my situation. Anyone care to pipe in?

Similar Messages

  • HELP I have lost all my motion 4 content from all the files, ive looked in all the files and they are all empty. can i get replacement content as I my dvds where stolen along. with my other laptop.

    HELP I have lost all my motion 4 content from all the files, ive looked in all the files and they are all empty. can i get replacement content as I my dvds where stolen along. with my other laptop. any Ideas. would be a great help. For Motion 4.

    Try a hard reset:- hold the home button AND the power switch - ignore the red "Slide to power off" and wait ubntil the iPhone powers down, and then restarts - at the Apple logo, release all the buttons and see if your contacts reappear.

  • Tthe flood filter is in my plugins folder along with the other plugins I have, but not in cc 2014. It's also in Adobe bridge associated with cc 2014, but not in cc 2014 Photoshop. i hope you get this because i forwarded  your info to HCS and now I'm all m

    the flood filter is in my plugins folder along with the other plugins I have, but not in cc 2014. It's also in Adobe bridge associated with cc 2014, but not in cc 2014 Photoshop. i hope you get this because i forwarded  your info to HCS and now I'm all mixed up as to this gets forward.

    Unfortunately, you are not addressing Adobe here in the user forums.
    However, there are many highly experienced volunteer users here willing to help.
    Can you please clarify:  are you saying that your Flood filter (whatever that is) is in your Bridge folder but not in Photoshop?
    UPDATE:  I Googled your Flood Filter and discovered it's not an Adobe filter at all.  Have you contacted its manufacturer, Flaming Pear?  What do they say?

  • Query of GL line items along with "the other side of the JEs"

    Hello All,
    I am trying to create an ABAP program or SAP query that would allow me to create an output of all line items posted to a general ledger account for a particular fiscal year(s) along with the other side the journal entry.
    Said another way, I want all documents posted to a general ledger account along with the rest of the line items included with those journal entry.
    For example, if I wanted to do this for Bad Debt Expense (P&L acct), I would like to see all those bad debt write off postings that were (credit Trade AR and Debit Bad debt Expense) vs. adjusting the bad debt reserve or any other posting in there.
    Rather than looking at each transaction individually, I think this query would allow me to see the big picture of all posting to a particular account.
    Any help is appreciated.

    Rob,
    I appreciate the insight. I think you answered my questions, but could you provide me with a little more detail so I am on the same page as you.
    For the BSIS and BSAS, I am assuming I can just use a FI  t-code FBL3N to obtain the information.
    Could you explain to me how to get the output in such a way and how to include it in the BSEG to get the complete journal entries for all of the document numbers I would get from the FBL3N. Or can I perform this in one function.
    Thank you.

  • Yesterday an update on software to get the facetime to work. It downloaded along with eight other updates an Itunes update now I cannot even get Itunes to open I am now completely frustrated

    Yesterday I did an update on software to get the facetime to work. It downloaded along with eight other updates an Itunes update now I cannot even get Itunes to open I am now completely frustrated Now two applications are not working.  Help

    Hi,
    I tried opening it from the application folder and nothing happens.   I have tried from the dock and the same thing.  Unfortunately this is not the application that I ws intending to work on.  This was running perfectly fine for me.  I have a lot of music on it.  I know all is still there because I can see it through spotify.  I started looking for help with Face time with came up with a needing proper credentials in order to open.  Now neither open after a 9 an automatic download of nine updates.  At this point I don't know what else to do.

  • Firefox freezes (along with any other program I might have running) a minute or two after I have started my session. After a minute or so, it's O.K.

    Firefox freezes (along with any other program I might have running) a minute or two after I have started my session. After a minute or so, it's O.K. I have disabled all off my extensions and the problem still persists.

    Hello Meg, the phone allowed me to stay on long enough to download a new app but then shut down the app centre and returned to the home screen.
    Was there a specific "fix App" for this?

  • I cannot access Adobe Camera Raw Plug-in although it's listed in CS6 "PHOTOSHOP" menu along with my other plug ins.  And I can't find it on my iMAC (10.9.5)

    In CS6, how do I access the Adobe Camera Raw plug in that's listed with my other (easily accessible) plug ins:  I can't find it through "automate", or "Filter" or "extensions"..  I am on iMAC 10.9.5 (Mavericks)

    I believe camera raw as a filter is CC only. You can access camera raw by selecting a raw, tiff or jpg image from your drive. Raw is the only one that will open by default. You must tell camera raw to open tiff and jpg in the preferences.
    You can also use file>open or file>place then specify camera raw as file type. In this case it will open any of the three formats without changing the preferences.
    Once the image is in Photoshop, it should be a smart object if you choose open as object instead of open as image in camera raw. As a smart object, you can double click on the thumbnail in the layers panel. This will open camera raw with that image.

  • TS4147 iCloud update today removed my main contacts and placed them in the icloud folder along with my other contact groups.. now they are all mixed together.

    Outlook 2010. I had a main id plus several other address books. I updated the iCloud control panel today and it merged all of my address books into an iCloud address book, it removed my main contacts and mixed them all into the other address books.

    Restore your backup.

  • Can not attach documents or files to email along with lots of other problems

    I can not attach any files or documents to an email. I am working on a Mac OS10.4. Have tried doing the F9 button as suggested in the help section and it totally froze my computer up to the point of having to unplug it and start my whole computer up. Also we can not finishing downloading Firefox 3.6.13

    Who will answer my question? and when?

  • HT203905 When family organizer updates payment credit card, members of family still only see old card on file. Payment declines with no other options!

    When I wish to update an app or purchase an app on my iPhone, i get the message that Verification is required. next I am presented with entering the 4 digit security code for a credit card whose complete number is greyed out except last four digits. I can see itnis the old expired creit card. My Famiiy Organizer/husband has since updated that credit card, but I have no ability to sync up to the new credit card number. Shouldn't my family organizer payment updates immediately trickle down to the members of the family? I am locked out of purchases (even mere app updating), because I have no control over changing my own payment methods. I'm not asking to have my own separate card on file (as many support discussions reveal); I am simply trying to sync up to my family organizers payment method. It didn't automaitcally update member devices. I tried to update my own payment in SETTINGS, but its all greyed out since I am not the family Organizer. Talk about going in circles! I have 50 apps that I cannot update. Help! 

    You can create an App store account without a credit card, however that won't help you with updating your previous purchases. Apps are DRM protected, and tied to the account that was used to originally purchase them. There is no way to overcome this DRM protection or transfer them to another account(Itunes support can if you contact them). If you want to create an App store account without a credit card, follow the directions here, but bear in mind the DRM protection mentioned. If you use this account to download free apps, you will have to use this same account for all future updates:
    http://support.apple.com/kb/ht2534

  • I keep losing my Firefox Toolbar along with my other Tool Bars.

    I keep losing my Firefox Toolbar so I can not get to my Bookmarks, Tools etc. Today I have no Tool Bars at all.

    ''If you do not have a tab bar, just page content from corner to corner:''
    Could you check that Firefox didn't switch to its full screen view? You can switch that using either:
    * F11 key on the keyboard
    * slide the mouse all the way to the top of the window and watch for the tabs and toolbars to slide down, right-click a blank area of the tab bar > Exit Full Screen Mode
    ''If it's a regular window with a tab bar but no toolbars:''
    This could be caused by an incompatibility with one of your extensions, or a corrupted data file.
    If you tap the Alt key or press F10, can you call up the classic menu bar (File, Edit, View...)? If so, try Firefox's Safe Mode. That's a standard diagnostic tool to deactivate extensions and some advanced features of Firefox. More info: [[Troubleshoot Firefox issues using Safe Mode]].
    From the Help menu, choose Restart with Add-ons Disabled
    Not all add-ons are disabled: Flash and other plugins will still run
    After Firefox shuts down, a small dialog should appear. Click "Start in Safe Mode" (''not'' Reset).
    Do you have your toolbars in Safe Mode?

  • File Server Cluster along with SQL Cluster

    Hello There,
    I have got SQL 2008 R2 cluster running on Windows 2008 R2 Ent OS.
    Can i use the same cluster to host file server cluster? If yes is it advisable to do so.
    Regards,
    Maqsood
    Maqsood Mohammed Senior Systems Engineer MCITP-Enterprise Admin & ITILv3 Foundation Certified

    I have got SQL 2008 R2 cluster running on Windows 2008 R2 Ent OS.
    Can i use the same cluster to host file server cluster? If yes is it advisable to do so.
    1) Upgrade to Windows Server 2012 R2
    2) Virtualize all of your workload (SQL Server, File Server etc)
    After you'll be done it would be much easier to handle isolation inside your VMs and with a decent level of hardware resources allocated you'll have no issues running SQL Server and File Server @ the same time. If you don't virtualize I agree with Tim -
    doable but not desirable :)
    StarWind VSAN [Virtual SAN] clusters Hyper-V without SAS, Fibre Channel, SMB 3.0 or iSCSI, uses Ethernet to mirror internally mounted SATA disks between hosts.

  • Any file I open, along with the color swatches and sampler, in PS has a warm white color where it is supposed to be white. I don't now how this happened and I have no idea how to get the whites back. Please help, thanks, P

    as I stated. the white in any file I open in PS s a warm white. I don't know how this happened or how to fix it. I do know it is not my PC or moniter. Only in PS. any hepl is appriciated, thanks, P

    My5cats, Cris may have more to add but here are some thoughts.  A calibrated monitor does have warm whites.  We perceive a blue white as being correct but it isn't.   i don't know if you are using monitor calibration or not.   One possible area is that Photoshop is set to a paper or some other gamut.  You can check (in PS) by going to the Edit menu > Color settings.  Here is a picture of mine.  I set the working space to sRGB which is used for the web and many printers.  If you get a correct setting , consider saving it.

  • HT1343 My computer crashed and will not start. My keyboard is on but my monitor will not turn on. I know there is a way to restart the system by pressing both command keys as well as both shift keys along with 2 other letters. I can't remember what those

    Can anyone help?

    Here you go >  Resetting the PRAM
    If a PRAM reset doesn't help, try accessing OS X Recovery.
    Shut down the Mac and wait about ten second\s.
    Then startup your Mac while holding down the Command + R keys. Let go of those keys when you see the spinning progresss indicator.
    With any luck, you'll be able to access the built in utilities to verify and if necessary, repair the startup disk.
    OS X: About OS X Recovery
    message edited by:  cs

  • How to write newline character to file using bytes along with content

    Hi All,
    I need to write headers into the file using byte[]. I am creating the strings of header which will form the different rows in the file. I am new to java and would like to know how to embed new line character so that when the byte[] is written to file headers come in different rows.
    like
    hrd1:abcd
    hdr2:1234
    when i embed \n and \r in string and do getBytes() and write it to file, some boxes are written in the file and everything comes into single line.
    Please advice me the correct way .
    Thanks in advance.
    Cheers!!
    Puneet

    not sure about it, but i was always told that "\r\n" meant "new line" on "lots of documents" whereas "\n" only or "\r" only were meaningless on some type of documents

Maybe you are looking for