ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Genix <genix@list.ru>
To: community@altlinux.ru
Subject: Re: [Comm] про PostgreSQL
Date: Mon, 03 Nov 2003 09:11:14 +0300
Message-ID: <3FA5F182.7020002@list.ru> (raw)
In-Reply-To: <200311010835.33663.higtower@istu.irk.ru>


> P.S. И еще один вопрос напоследок - у меня АЛМ 2.2 и PostgreSQL оттуда. При 
> установке в системе появился пользователь postgres:
> 
> postgres:x:46:46:PostgreSQL Server:/var/lib/pgsql:/dev/null
> 
> Что меня удивило - так это последний элемент - /dev/null - это что, специально 
> сделано, чтобы этот пользователь не мог зайти в систему ? А как же 
> осуществляется   настройка PostgreSQL (initdb, createdb, createuser и т.д.)? 
> Ведь они все работают только из-под  этого пользователя - а набирать каждый 
> раз что-то вроде 
> $ su postgres -c "createdb htower"
> прибивает ;). Я заменил /dev/null на /bin/bash и произвел нужные мне операции 
> - но мне интересно, может это все было сделано с какой-либо целью, просто я 
> не понял с какой ;)
>                                                                                        

Зачем набирать каждый раз? Достаточно создать нового пользователя 
(createuser),у которого будут права на создание баз и пользователей.

-- 
Я летаю снаружи всех измерений...



  parent reply	other threads:[~2003-11-03  6:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-31 10:29 Anikin Anton
2003-10-31 22:23 ` Евгений Косенко
2003-11-01  0:35   ` Anikin Anton
2003-11-01  4:45     ` Dmitry Lebkov
2003-11-03  5:21       ` Grigory Batalov
2003-11-01 10:37     ` Евгений Косенко
2003-11-03  6:11     ` Genix [this message]
2003-11-01 13:13 ` Maxim Tyurin
2003-11-01 18:37 ` Andrey Orlov
2003-11-02  8:11 ` Vitaly Lugovsky

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=3FA5F182.7020002@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