Deleted admin user account shows on startup

Discussion in 'macOS Sierra (10.12)' started by Angle Loss, Sep 20, 2016.

  1. Angle Loss macrumors member

    Joined:
    Sep 6, 2010
    #1
    late 2013 MBP 2.6GHz on 10.12.

    I deleted an alternate admin user (not my main admin account) from my MBP but when I startup it only shows the deleted account to log in to. If I enter the password it loads (progress bar) which takes a little time, then it pops up my main account as it should.

    Being that I have been using bootcamp a lot lately, it is frustrating to have log in take twice as long. The old account was deleted the normal way through Users&Groups and no longer shows there. It started in El Capitan and hasn't changed for Sierra.

    How do I remove whatever traces of this old account still exists?
     
  2. KALLT macrumors 601

    Joined:
    Sep 23, 2008
    #2
    I am guessing you are using FileVault? Is the old account only shown on that screen and you have to log in manually in the other, or does the login proceed automatically?
     
  3. Angle Loss thread starter macrumors member

    Joined:
    Sep 6, 2010
    #3
    FileVault is on.

    The old account only shows (the name and picture associated with it) on the login screen. It won't login to that account, but merely pulls up my regular/current admin account after it tries to log in. That is to say it brings up the login screen again with my correct account name/pic.

    Thanks for helping!
     
  4. KALLT macrumors 601

    Joined:
    Sep 23, 2008
    #4
    For good measure, you can check whether there still is a record of the old account with the following Terminal command. It should only list your user accounts.
    Code:
    dscl . -list /Users UniqueID | egrep "5\d\d"

    This should only list your user accounts. When you type the following command, it will list all users that can unlock FileVault. Is it mentioned there?
    Code:
    sudo fdesetup list
     
  5. Angle Loss thread starter macrumors member

    Joined:
    Sep 6, 2010
    #5
    When I input either of those codes, it only shows my current account and not the old one which shows at login.
     
  6. KALLT macrumors 601

    Joined:
    Sep 23, 2008
    #6
    Hmm... that is weird. It is also not mentioned in this list?
    Code:
    dscl . -list /Users
     
  7. Angle Loss thread starter macrumors member

    Joined:
    Sep 6, 2010
    #7
    dscl . -list /Users

    In this list I only see my current account mentioned.
     
  8. KALLT macrumors 601

    Joined:
    Sep 23, 2008
    #8
    What you are saying seems to indicate a problem with FileVault. The account is clearly not there and your successful ‘login’ attempts at the FileVault stage mean that the FileVault unlock screen uses outdated information. Is the password the same or are you using the ‘old’ password at that stage?

    What you can try is adding your account again to FileVault and see whether it overwrites or adds another entry (replace ‘your_username’ with your username).
    Code:
    sudo fdesetup add -usertoadd your_username

    Then try this again:
    Code:
    sudo fdesetup list

    Before you attempt this, make sure you have your FileVault recovery key ready. You don’t need it, just in case something goes wrong.
     
  9. Angle Loss thread starter macrumors member

    Joined:
    Sep 6, 2010
    #9
    Just before you responded, I was looking in FileVault in System Prefs and it allowed me to add my current account (which is what I think you were having me do with that first code?). I restarted the computer and now it shows me both accounts at the startup screen.

    Though the old one is still there, I can now login straight to my correct account without the wasted time!
     
  10. KALLT macrumors 601

    Joined:
    Sep 23, 2008
    #10
    Yes, that is what the command would have done. Try the last command I gave you again. I am guessing it will now show two results.

    I believe FileVault somehow mixed up the account data.
     
  11. Angle Loss thread starter macrumors member

    Joined:
    Sep 6, 2010
    #11
    So I logged out and in...didn't show the old account. Restarted a second time and it is gone, just the current/regular admin account and guest options.

    I just tried the last command...it only shows my current account.


    Thanks so much for your help KALLT! I wouldn't have been able to fix it myself. You have saved me much time in future logins! :)
     
  12. grahamperrin macrumors 601

    grahamperrin

    Joined:
    Jun 8, 2007
    #12
    It's commonplace but as far as I know, the problem is purely cosmetic.

    When EfiLoginUI presents a user, or an array of users, before the Mac OS X Startup volume (a logical volume) is unlocked: what's presented is loaded from a different volume. Loaded from a non-encrypted slice of a physical disk; the slice that is used for things such as Recovery OS.

    At some point, macOS will automatically, silently, invisibly mount then unmount the volume and when that automation occurs: you should expect the data to be brought up to date.

    Apple Developer: Kernel Programming Guide: The Early Boot Process: Rooting

    – read about Boot≠Root
     
  13. rshrugged macrumors 6502a

    Joined:
    Oct 11, 2015
    #13
    Thanks for the link. Tangential to topic -- I had an USB dongle plugged directly into a Mini port for a mouse which I also used briefly for a companion keyboard. I also had an Apple USB KB plugged into an USB hub.

    With FV2 enabled the Apple KB would fail (even if I unplugged then plugged directly into the Mini) to work at login. The dongle controlled KB wasn't in use, the batteries were removed, so it didn't dawn on me right away what the problem was. The Early Boot Process was dependent on the dongle KB.
     

Share This Page