ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dmitriy Gnidchenko <savithur@avatar.spb.ru>
To: Genix <community@altlinux.ru>
Subject: Re[6]: [Comm] PostgreSQL + ipac + iptables = rtouble
Date: Tue, 22 Jun 2004 18:09:42 +0400 (MSD)
Message-ID: <Pine.LNX.4.58L.0406221805230.19884@relay.sampsonievskiy.ru> (raw)
In-Reply-To: <20350562718.20040622173436@amos.ru>


> >> "createuser root", "createuser apache", при этом необходимо
> запускать
> >> createuser из-под пользователя, которому разрешено
> создавать новых
> >> пользователей, например из-под postgres.
> >>
> >> Отлично!
> >> Только одно "но":
> >> из-под root
> >> createuser root - не найдена база root
> >> createdb root   - не найден пользователь root
> >>
> >> Класс!
> >>
> >> Я про su - postgres уже не говорю - вообще не прокатывает.
>
> G> например
> G> sudo -u postgres createuser db_user_name
>
>
> Не-а... Я не настраивал sudo...
> С третьей попытки сработало su - -s /bin/bash postgres

для работы с Посгресом не надо пользоваться SU

createdb -U postgres <name BD>
createuser -U postgres

это все в доке  по Postgres имеется.


Дима.
	savithur@avatar.spb.ru


  reply	other threads:[~2004-06-22 14:09 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
2004-06-22 13:34           ` Re[6]: " Ivanov Maxim
2004-06-22 14:09             ` Dmitriy Gnidchenko [this message]
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=Pine.LNX.4.58L.0406221805230.19884@relay.sampsonievskiy.ru \
    --to=savithur@avatar.spb.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