ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] [JT] PostgreSQL newbie
@ 2006-04-12 16:36 Kaydannik Alex
  2006-04-12 18:09 ` Michael Popov
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Kaydannik Alex @ 2006-04-12 16:36 UTC (permalink / raw)
  To: ALT Linux Community

Первый раз ставлю и собираюсь работать с базой PostgreSQL
После установки базы из сизифуса - запустил.
Какой пользователь по умолчанию?
Как заводить новых пользователей? ( не про базы и привилегии, а я просто 
не могу аутентифицировать бы начать создавать базы и новых пользователей)

Ранее думал mysql like ( root and blank password)
Спасибо.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Comm] [JT] PostgreSQL newbie
  2006-04-12 16:36 [Comm] [JT] PostgreSQL newbie Kaydannik Alex
@ 2006-04-12 18:09 ` Michael Popov
  2006-04-12 20:00 ` Nikolay A. Fetisov
  2006-04-13  6:00 ` Genix
  2 siblings, 0 replies; 5+ messages in thread
From: Michael Popov @ 2006-04-12 18:09 UTC (permalink / raw)
  To: ALT Linux Community

> Какой пользователь по умолчанию?
IIRC, это в конфиге PostgreSQL-ном настраивается


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Comm] [JT] PostgreSQL newbie
  2006-04-12 16:36 [Comm] [JT] PostgreSQL newbie Kaydannik Alex
  2006-04-12 18:09 ` Michael Popov
@ 2006-04-12 20:00 ` Nikolay A. Fetisov
  2006-04-14  6:54   ` Alexey I. Froloff
  2006-04-13  6:00 ` Genix
  2 siblings, 1 reply; 5+ messages in thread
From: Nikolay A. Fetisov @ 2006-04-12 20:00 UTC (permalink / raw)
  To: community

On Wed, 12 Apr 2006 19:36:23 +0300
Kaydannik Alex wrote:

> Первый раз ставлю и собираюсь работать с базой PostgreSQL
> После установки базы из сизифуса - запустил.
> Какой пользователь по умолчанию?

postgres

> Как заводить новых пользователей? ( не про базы и привилегии, а я просто 
> не могу аутентифицировать бы начать создавать базы и новых пользователей)

# su -l postgres -s /bin/bash -c /usr/bin/createuser


-- 
С уважением,	
Николай Фетисов


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Comm] [JT] PostgreSQL newbie
  2006-04-12 16:36 [Comm] [JT] PostgreSQL newbie Kaydannik Alex
  2006-04-12 18:09 ` Michael Popov
  2006-04-12 20:00 ` Nikolay A. Fetisov
@ 2006-04-13  6:00 ` Genix
  2 siblings, 0 replies; 5+ messages in thread
From: Genix @ 2006-04-13  6:00 UTC (permalink / raw)
  To: community

Kaydannik Alex <bubuin@...> writes:

> Как заводить новых пользователей? ( не про базы и
> привилегии, а я просто 
> не могу аутентифицировать бы начать создавать базы и
> новых пользователей)

sudo -u postgres createuser
а дальше createdb, createuser и т.д.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Comm] [JT] PostgreSQL newbie
  2006-04-12 20:00 ` Nikolay A. Fetisov
@ 2006-04-14  6:54   ` Alexey I. Froloff
  0 siblings, 0 replies; 5+ messages in thread
From: Alexey I. Froloff @ 2006-04-14  6:54 UTC (permalink / raw)
  To: ALT Linux Community

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

* Nikolay A. Fetisov <naf@> [060413 00:02]:
> > Как заводить новых пользователей? ( не про базы и привилегии, а я просто 
> > не могу аутентифицировать бы начать создавать базы и новых пользователей)
> # su -l postgres -s /bin/bash -c /usr/bin/createuser
Зачем так сложно?

$ createuser -U postgres newuser

См. такж. pg_hba.conf

-- 
Regards, Alexey I. Froloff
AIF5-RIPN, AIF5-RIPE
-------------------------------------------
  Inform-Mobil, Ltd. System Administrator
       http://www.inform-mobil.ru/

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-04-14  6:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-12 16:36 [Comm] [JT] PostgreSQL newbie Kaydannik Alex
2006-04-12 18:09 ` Michael Popov
2006-04-12 20:00 ` Nikolay A. Fetisov
2006-04-14  6:54   ` Alexey I. Froloff
2006-04-13  6:00 ` Genix

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