ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Genix <genix@list.ru>
To: community@altlinux.ru
Subject: Re: Re[4]: [Comm] PostgreSQL + ipac + iptables = rtouble
Date: Tue, 22 Jun 2004 16:29:02 +0400
Message-ID: <20040622162902.35cefc0a.genix@list.ru> (raw)
In-Reply-To: <88345547718.20040622161101@amos.ru>

On Tue, 22 Jun 2004 16:11:01 +0400
Ivanov Maxim <ivanov@amos.ru> wrote:


> 2) Необходимо создать пользователей root и пользователя, от которого
> запускается ваш http сервер, в базе postgresql, это можно сделать так: 
> "createuser root", "createuser apache", при этом необходимо запускать 
> createuser из-под пользователя, которому разрешено создавать новых 
> пользователей, например из-под postgres.
> 
> Отлично!
> Только одно "но":
> из-под root
> createuser root - не найдена база root
> createdb root   - не найден пользователь root
> 
> Класс!
> 
> Я про su - postgres уже не говорю - вообще не прокатывает.

например
sudo -u postgres createuser db_user_name



-- 
У каждого в башке свои тараканы...


  reply	other threads:[~2004-06-22 12:29 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-21  7:26 Ivanov Maxim
2004-06-21 14:16 ` Maxim
2004-06-21 14:52   ` Re[2]: " Ivanov Maxim
2004-06-21 15:57     ` Re[3]: " Maxim
2004-06-22 12:11       ` Re[4]: " Ivanov Maxim
2004-06-22 12:29         ` Genix [this message]
2004-06-22 13:34           ` Re[6]: " Ivanov Maxim
2004-06-22 14:09             ` Dmitriy Gnidchenko
2004-06-23 13:22               ` Re[7]: " Ivanov Maxim
2004-06-23 14:12                 ` Alex Gorbachenko
2004-06-23 14:54                   ` Re[9]: " Ivanov Maxim
2004-06-23 15:02                     ` Alex Gorbachenko
2004-06-23 17:39                 ` Re[7]: " Dmitriy Gnidchenko
2004-06-22 15:38             ` Maxim
2004-06-21 20:39     ` Alexander Leschinsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040622162902.35cefc0a.genix@list.ru \
    --to=genix@list.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git