![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am trying to install PostgreSQL on OS X 10.3, using the package from Entropy.ch. The installation instructions there, as well as anywhere else I have seen them on the net, say to create a user (using the System Preferences pane) with a shortname "postgres". The problem is, this user already exists in my netinfo database/domain, and so I cannot either create a new user with the same short name, or use this user, because I do not know the password (I assume it is a system default user). Thus, I am unable to complete the installation, because I cannot run the following commands as user postgres. /usr/local/bin/initdb -D /usr/local/pgsql/data /usr/local/bin/pg_ctl -D /usr/local/pgsql/data -l postgres.log start Has anyone else encountered this before? I'm so confused by this...why does this user already exist, and why can't I make use of it for this installation? Should I create a different user? NM -- Nathan Mealey Director of Operations Cycle-Smart, Inc. P.O. Box 1482 Northampton, MA 01061-1482 nathan (AT) cycle-smart (DOT) com (413) 587-3133 (413) 210-7984 Mobile (512) 681-7043 Fax |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
I am trying to install PostgreSQL on OS X 10.3, using the package from Entropy.ch. The installation instructions there, as well as anywhere else I have seen them on the net, say to create a user (using the System Preferences pane) with a shortname "postgres". The problem is, this user already exists in my netinfo database/domain, and so I cannot either create a new user with the same short name, or use this user, because I do not know the password (I assume it is a system default user). Thus, I am unable to complete the installation, because I cannot run the following commands as user postgres. |
#5
| |||
| |||
|
|
On Oct 15, 2004, at 8:09 PM, Nathan Mealey wrote: I am trying to install PostgreSQL on OS X 10.3, using the package from Entropy.ch. The installation instructions there, as well as anywhere else I have seen them on the net, say to create a user (using the System Preferences pane) with a shortname "postgres". The problem is, this user already exists in my netinfo database/domain, and so I cannot either create a new user with the same short name, or use this user, because I do not know the password (I assume it is a system default user). Thus, I am unable to complete the installation, because I cannot run the following commands as user postgres. I think the user is there in 10.3 by default. Apple is using PostgreSQL in one of their products. In order to use postgres (and to have postgres show up as a normal user available in the login menu) I deleted the user in NetInfo Manager. You also have to delete the postgres group. After doing this, I was able to create a postgres user in the accounts view of System Preferences. Best, John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
I read the post above about deleting the group info as well; that allowed me to create a user 'postgres' via the Account Manager. Figure I'll have to twiddle the home dir and shell and whatnot via NetInfo. How do I make that user not visible in the login selection? Should I delete the user 'postgres' in the Account Manager and re-create him w/ the necessary parameters (shell, home dir, password) from the Terminal? |
#8
| |||
| |||
|
|
I think that would be the easiest approach (delete the account and recreate it from the command line). Hopefully this will give you a setup similar to the original one if you don't want postgres in the login menu. Once you have it in NetInfo, you can set it up like the other invisible users. |

#9
| |||
| |||
|
|
I am trying to install PostgreSQL on OS X 10.3, using the package from Entropy.ch. The installation instructions there, as well as anywhere else I have seen them on the net, say to create a user (using the System Preferences pane) with a shortname "postgres". The problem is, this user already exists in my netinfo database/domain |
#10
| |||
| |||
|
|
I am trying to install PostgreSQL on OS X 10.3, using the package from Entropy.ch. The installation instructions there, as well as anywhere else I have seen them on the net, say to create a user (using the System Preferences pane) with a shortname "postgres". The problem is, this user already exists in my netinfo database/domain, and so I cannot either create a new user with the same short name, or use this user, because I do not know the password (I assume it is a system default user). Thus, I am unable to complete the installation, because I cannot run the following commands as user postgres. /usr/local/bin/initdb -D /usr/local/pgsql/data /usr/local/bin/pg_ctl -D /usr/local/pgsql/data -l postgres.log start Has anyone else encountered this before? I'm so confused by this...why does this user already exist, and why can't I make use of it for this installation? Should I create a different user? |
![]() |
| Thread Tools | |
| Display Modes | |
| |