ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: devel@altlinux.ru
Subject: [devel] Re: PostgreSQL getpwent
Date: Sun, 10 Apr 2005 05:51:37 +0400
Message-ID: <20050410015137.GO3309@solemn.turbinal.org> (raw)
In-Reply-To: <20050409200458.GG5325@osdn.org.ua>

[-- Attachment #1: Type: text/plain, Size: 806 bytes --]

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:

$ 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
$

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-04-10  1:51 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 [this message]
2005-04-10  9:17       ` Andrey Orlov
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=20050410015137.GO3309@solemn.turbinal.org \
    --to=at@altlinux.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