Обсуждение: Installation problems

Поиск
Список
Период
Сортировка

Installation problems

От
Victor Escobar
Дата:
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.

Re: Installation problems

От
"chris smith"
Дата:
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/

Re: Installation problems

От
Chris
Дата:
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/