Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed some development environment which created a postgres user account. The user is actually an OS X user account with the name of 'postgres'. This is different from a user account within postgres.

I don't remember what it was, it was some time ago (perhaps MAMP, but I don't know whether MAMP even supports postgres).

Anyway, this was later uninstalled using the provided uninstaller.

Now when I log into my Mac, the postgres user always appears. But there is no trace of it in System Preferences » User Accounts, and there's no entry for it in /etc/passwd.

What is prompting OS X to list the user account in the login screen? I'm struggling to figure out where else to remove it from.

share|improve this question

migrated from Oct 14 '11 at 8:11

This question came from our site for professional and enthusiast programmers.

This is more of a question for superuser or serverfault. – senfo Oct 14 '11 at 2:06
have you looked at : – Kassym Dorsel Oct 14 '11 at 2:39
@senfo, sorry, my bad. – carpii Oct 18 '11 at 20:33
@Kassym, thanks, but the user account is an OSX one called postgres, not a database user account inside postgres – carpii Oct 18 '11 at 20:33
up vote 2 down vote accepted

You can use the terminal based DSCL command (see man dscl) to remove user accounts. Something like this may do the trick:

sudo dscl . -delete /users/postgres
share|improve this answer
My problem disappeared anyway, because I moved to Lion and did a fresh install. I suspect your solution would have worked though, I'll make a note of it for future, thanks :) – carpii Jan 6 '12 at 3:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.