Re: problem with postgres
- To: debian-user@lists.debian.org
- Subject: Re: problem with postgres
- From: Alberto Cabello Sanchez <alberto@unex.es>
- Date: Thu, 18 Oct 2001 21:06:19 +0200
- Message-id: <[🔎] 20011018210619.A14506@marmota>
- In-reply-to: <20011017092036.2694.qmail@murphy.debian.org>; from debian-user-digest-request@lists.debian.org on Wed, Oct 17, 2001 at 09:20:36AM -0000
- References: <20011017092036.2694.qmail@murphy.debian.org>
You can try
postgres:~$ psql
blablabla
template1=> create user somebody createdb ;
postgres:~$ su - somebody
Password:
somebody:~$psql
template1=> create database something;
....
I hope this help...
>
> i try to install postgreSQL on debian testing, but i have problem :
>
> >
> > ~$ createuser nlamirault
> > Shall the new user be allowed to create databases? (y/n) y
> > Shall the new user be allowed to create more new users? (y/n) y
> > CREATE USER
> > postgres@lam:~$ exit
> > logout
> > [ lam : root ] exit
> > logout
> > < lam : nlamirault > whoami
> > nlamirault
> > < lam : nlamirault > createdb exemple
> > psql: Peer authentication failed for user 'nlamirault'
> > createdb: database creation failed
> >
>
> --
> Nicolas Lamirault
> CVF Bordeaux 22 quai de Bacalan
> 33000 BORDEAUX
--
---------------------------------------------------
Alberto Cabello Sánchez <alberto@unex.es>
924 289 351 - 924 298 352 - Servicio de Informática
Universidad de Extremadura - España - Spain
Debian Potato - GNU/Linux 2.2.19
---------------------------------------------------
Reply to: