Skip site navigation (1) Skip section navigation (2)

Re: useradd OR adduser commands

From: Anil Jangam <anilj(at)indts(dot)com>
To: "'Henshall, Stuart - WCP'" <SHenshall(at)westcountrypublications(dot)co(dot)uk>, "'pgsql-cygwin(at)postgresql(dot)org'" <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: useradd OR adduser commands
Date: 2001-10-16 11:11:59
Message-ID: F73B646FCC01D5118F530002B32C337263B170@INDTS_FS (view raw or flat)
Thread:
Lists: pgsql-cygwin
hi,

I am trying to create a user which is a OS user account and not the database
user acccout.
This is as mentioned in the "3.2. Creating a database cluster" document.

> initdb -D /usr/local/pgsql/data
Note that you must execute this command while being logged in to the
Postgres user account, which is described in the previous section. This
(Postgres) is the user we need to create to install the database. Also the
this is the user space created in the Unix shell.

There is infact the command which you have mentioed, which creates the
database user and not the OS user. The useradd OR adduser creates a seperate
space other than administrator/root user.

I am not sure if I initialize the database within administrator/root, there
is any impact/disadvantage of doing so.

-Anil.


> -----Original Message-----
> From: Henshall, Stuart - WCP
> [mailto:SHenshall(at)westcountrypublications(dot)co(dot)uk]
> Sent: Tuesday, October 16, 2001 3:49 PM
> To: 'Anil Jangam'; 'pgsql-cygwin(at)postgresql(dot)org'
> Subject: RE: [CYGWIN] useradd OR adduser commands
> 
> 
> Try createuser (or use create user in psql)
> - Stuart
> 
> > -----Original Message-----
> > From:	Anil Jangam [SMTP:anilj(at)indts(dot)com]
> > Sent:	Tuesday, October 16, 2001 8:50 AM
> > To:	'pgsql-cygwin(at)postgresql(dot)org'
> > Subject:	[CYGWIN] useradd OR adduser commands
> > 
> > Hi, 
> > 
> > The commands useradd OR adduser are not available under the 
> postgreSQL
> > 7.1.2.
> > It gives the 'command not found' error. Does 7.1.2 setup 
> contains these
> > commands??
> > 
> > -anil.
> > 
> > ---------------------------(end of 
> broadcast)---------------------------
> > TIP 6: Have you searched our list archives?
> > 
> > http://archives.postgresql.org
> 

pgsql-cygwin by date

Next:From: Henshall, Stuart - WCPDate: 2001-10-16 11:21:19
Subject: Re: useradd OR adduser commands
Previous:From: Henshall, Stuart - WCPDate: 2001-10-16 10:19:08
Subject: Re: useradd OR adduser commands

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group