From: | Oliver Elphick <olly(at)lfix(dot)co(dot)uk> |
---|---|
To: | Jeff Bluemel <jeff(at)domintcom(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: starting with linux as another user... |
Date: | 2002-09-09 14:38:40 |
Message-ID: | 1031582320.24419.224.camel@linda |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Fri, 2002-09-06 at 20:05, Jeff Bluemel wrote:
> I know how to make programs start up with the system, but how do I make
> postgres start up as another username then root?
>
In your init script:
su - postgres -c "pg_ctl start"
--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight, UK
http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"Submit yourselves therefore to God. Resist the devil,
and he will flee from you." James 4:7
From | Date | Subject | |
---|---|---|---|
Next Message | Lee Kindness | 2002-09-09 14:41:54 | SQL: how to find if a table exists? |
Previous Message | Thomas O'Dowd | 2002-09-09 14:35:38 | Re: Literal dash in regular expression brackets |