Cannot See/Delete User Account

seha

Registered
I was trying to install PostgreSQL on my Mac OS X using its included installation notes, which I have included below.

The command "adduser postgres" did not exist, however I managed to run the command "chown postgres /usr/local/pgsql/data".

Later, I managed to find the Apple Developer Connection article (http://developer.apple.com/internet/opensource/postgres.html) and learned that adding the user should have been done through the System Preferences panel.

When I went to the Sys Pref panel to do so, it gave me a warning saying the user "postgres" already existed, but it does not appear on the list of users. I also cannot login with that user from the command line interface, but I can login in Mac OS.

My question is, how can I delete that user so I can continue with the installation of PostgreSQL as described in the above cited website?

------
Installation Notes
------
./configure
gmake
su
gmake install
adduser postgres
mkdir /usr/local/pgsql/data
chown postgres /usr/local/pgsql/data
su - postgres
/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
/usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data >logfile 2>&1 &
/usr/local/pgsql/bin/createdb test
/usr/local/pgsql/bin/psql test
 
Back
Top