Re: useradd OR adduser commands - Mailing list pgsql-cygwin

From Anil Jangam
Subject Re: useradd OR adduser commands
Date
Msg-id F73B646FCC01D5118F530002B32C337263B170@INDTS_FS
Whole thread Raw
In response to useradd OR adduser commands  (Anil Jangam <anilj@indts.com>)
List 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@westcountrypublications.co.uk]
> Sent: Tuesday, October 16, 2001 3:49 PM
> To: 'Anil Jangam'; 'pgsql-cygwin@postgresql.org'
> Subject: RE: [CYGWIN] useradd OR adduser commands
>
>
> Try createuser (or use create user in psql)
> - Stuart
>
> > -----Original Message-----
> > From:    Anil Jangam [SMTP:anilj@indts.com]
> > Sent:    Tuesday, October 16, 2001 8:50 AM
> > To:    'pgsql-cygwin@postgresql.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:

Previous
From: Anil Jangam
Date:
Subject: useradd OR adduser commands
Next
From: "Henshall, Stuart - WCP"
Date:
Subject: Re: useradd OR adduser commands