Re: problem startting postgresql

Поиск
Список
Период
Сортировка
От Oliver Elphick
Тема Re: problem startting postgresql
Дата
Msg-id 1039006804.11430.33.camel@linda.lfix.co.uk
обсуждение исходный текст
Ответ на Re: problem startting postgresql  (suresh s <sureshatwork@yahoo.com>)
Ответы problem startting postgresql  (suresh s <sureshatwork@yahoo.com>)
Список pgsql-general
> but i have small doubt what is the difference between
>
> $ adduser postgres
>     and
> $ su - -c "useradd postgres"

The first ought to fail because a non-superuser should not have the
ability to add new users to the system. (The $ prompt indicates that you
are not a superuser.)  If it worked, your system would be completely
insecure.

The second becomes superuser before trying to add the new user.

Perhaps you need to do a basic Unix course...

--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK                             http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "Behold, happy is the man whom God correcteth.
      Therefore despise thou not the chastening of the
      Almighty."         Job 5:17


В списке pgsql-general по дате отправления:

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: performance tuning
Следующее
От: "Wynn, Robin"
Дата:
Сообщение: Re: Backend message type 0x50 arrived while idle