how do i delete a ghost login account?

Discussion in 'macOS' started by melmac79, Jul 25, 2009.

  1. melmac79 macrumors newbie

    Joined:
    Jul 25, 2009
    #1
    i am the administrator account for my macbook pro, osx leopard. when a roommate moved out, i wanted to delete his standard login account. however, instead of figuring out how to do it the proper way, i accessed the devices/macintosh HD/users/ folder in Finder and simply deleted it. now, when the login screen appears, there are three options: my admin account, a guest account, and an account with no picture entitled "Other...". I can't log into this account, and it doesn't appear in the System Preferences/Accounts screen, so i can't delete or adjust it from there.

    has anyone run into this problem before?? it's not a huge nuisance but it's a bit annoying to see it every time i want to log in.

    i really appreciate the help... thanks!
     
  2. r.j.s Moderator emeritus

    r.j.s

    Joined:
    Mar 7, 2007
    Location:
    Texas
    #2
    In Terminal, can you run this command? (Replacing username with the username)

    Code:
    dscl . -delete /Users/username
     
  3. melmac79 thread starter macrumors newbie

    Joined:
    Jul 25, 2009
    #3
    it doesn't appear to do much. when i enter that text i get this response:

    melissas-macbook:~ melissa$ dscl . -delete /Users/Other...
    delete: Invalid Path
    <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)
     
  4. MacManiac76 macrumors 65816

    MacManiac76

    Joined:
    Apr 21, 2007
    Location:
    Arizona
    #4
    Try entering this code into Terminal and see if it still shows the Other... user after a logout.

    Code:
    defaults write /Library/Preferences/com.apple.loginwindow SHOWOTHERUSERS_MANAGED -bool NO
     
  5. melmac79 thread starter macrumors newbie

    Joined:
    Jul 25, 2009

Share This Page