Hide PostgreSQL User in OS X Lion 10.7

After installing PostgreSQL 8.4 on Lion, a PostgreSQL user pops up in the login window.
To hide system users (including the PostgreSQL user) type the following in your terminal:

sudo defaults write /Library/Preferences/com.apple.loginwindow Hide500Users -bool TRUE

4 Comments

  1. Andrew says:

    This command doesn’t works on Lion.

  2. noel says:

    How do I undo this command?

  3. John says:

    @noel:

    To delete, type:

    sudo defaults delete /Library/Preferences/com.apple.loginwindow Hide500Users

Leave a Reply