Installation problems

Started by Victor Escobaralmost 20 years ago3 messagesgeneral
Jump to latest
#1Victor Escobar
sydbarrett74@gmail.com

Hello,
I'm going through the elongated instructions of installing pgsql and
am stuck at the point where one types:

%> su - postgres

When I type this and type in the password I chose, I get the following
error: 'su: no directory'

Anybody know how I fix this? I've Googled and came up with nothing.

#2Chris
dmagick@gmail.com
In reply to: Victor Escobar (#1)
Re: Installation problems

On 6/30/06, Victor Escobar <sydbarrett74@gmail.com> wrote:

Hello,
I'm going through the elongated instructions of installing pgsql and
am stuck at the point where one types:

%> su - postgres

When I type this and type in the password I chose, I get the following
error: 'su: no directory'

What directory does /etc/passwd have for the postgres user? Does it exist?

--
Postgresql & php tutorials
http://www.designmagick.com/

#3Chris
dmagick@gmail.com
In reply to: Victor Escobar (#1)
Re: Installation problems

Victor Escobar wrote:

The directory is set to /dev/null. I also forgot to add that I'm using
OS X 10.4. Since obviously /dev/null means the bit-bucket, what should I
set the home directory to?

Always CC the list, you'll get much faster/better responses.

Set the home dir to the base of your postgres installation. If you
installed postgres into /usr/local/pgsql, set it to that.

chris smith wrote:

On 6/30/06, Victor Escobar <sydbarrett74@gmail.com> wrote:

Hello,
I'm going through the elongated instructions of installing pgsql and
am stuck at the point where one types:

%> su - postgres

When I type this and type in the password I chose, I get the following
error: 'su: no directory'

What directory does /etc/passwd have for the postgres user? Does it
exist?

--
Postgresql & php tutorials
http://www.designmagick.com/