ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Andrey Orlov <cray@neural.ru>
To: devel@altlinux.ru
Subject: Re: [devel] Re: PostgreSQL getpwent
Date: Sun, 10 Apr 2005 13:17:32 +0400
Message-ID: <200504101317.32973.cray@neural.ru> (raw)
In-Reply-To: <20050410015137.GO3309@solemn.turbinal.org>

On Sunday 10 April 2005 05:51, Alexey Tourbin wrote:
> On Sat, Apr 09, 2005 at 11:04:58PM +0300, Michael Shigorin wrote:
> > > $ sudo createuser at
> > > Shall the new user be allowed to create databases? (y/n)
> > > Shall the new user be allowed to create more new users? (y/n)
> > > createuser: could not connect to database template1: FATAL:  user "root" does not exist
> > > $ sudo cat /var/lib/pgsql-root/etc/passwd
> > > postgres:x:46:46:PostgreSQL Server:/var/lib/pgsql:/dev/null
> > > $
> > 
> > Таки читать документацию -- нет там root, есть postgres. :)
> 
> Какую именно документацию?  Почему `sudo createuser at' не работает?

Потому что не положено :)

> Я гуглом поискал и как раз базу test завёл от имени postgres:

По постгресу документацию. Не знаю как сейчас, а раньше там чуть ли не в первых главах 
шло разъяснение того, кто такой рут и почему он не имеет никакаого отношение & прав
с точки зрения postgres.

Если и говорить о нормальности / ненормальности ситуации с альтовским pg, то она скорее в том,
что postgres не имеет нормальной учетной записи, а никак не в том, что какой-то там рут не имеет
доступа к pg.

> $ grep _pgsql -A1 ~specs/perl-DBD-Pg.spec
> %ifdef _pgsql_testdb
> # createdb -U postgres test
> export DBI_DSN=dbi:Pg:dbname=%_pgsql_testdb DBI_USER=postgres
> %endif
> $
> 

-- 
WthBstRgrds -- Андрей Орлов --  
 --- http: www.neural.ru, mail: cray@neural.ru, jid: cray@altlinux.org ---
----------------------------------------


  reply	other threads:[~2005-04-10  9:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-09 18:11 [devel] PostgreSQL Денис Смирнов
2005-04-09 17:10 ` [devel] Re: PostgreSQL getpwent Alexey Tourbin
2005-04-09 20:04   ` Michael Shigorin
2005-04-10  1:51     ` Alexey Tourbin
2005-04-10  9:17       ` Andrey Orlov [this message]
2005-04-12 17:21         ` Денис Смирнов
2005-04-10  9:11 ` [devel] PostgreSQL Andrey Orlov
2005-04-11 15:52   ` Denis Smirnov

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=200504101317.32973.cray@neural.ru \
    --to=cray@neural.ru \
    --cc=devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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