Re: Remove Postgres from Solaris 10 - Mailing list pgsql-admin

From Thomas Bräutigam
Subject Re: Remove Postgres from Solaris 10
Date
Msg-id 46F5921DF52F6E40860287B30CADADC785F3EA@EROS.nexus-ag.com
Whole thread Raw
In response to Re: Remove Postgres from Solaris 10  ("Jignesh K. Shah" <J.K.Shah@Sun.COM>)
Responses Re: Remove Postgres from Solaris 10
List pgsql-admin
Hi Jignesh,

But than I have the problem that I have 2 installations of postgres with default settings on one machine. Is it
possibleto have two installations with default settings on one machine?  

Do they not interrupt each other with ports or something else....?

Cheers Thomas



-----Original Message-----
From: J.K.Shah@Sun.COM [mailto:J.K.Shah@Sun.COM]
Sent: Dienstag, 29. April 2008 04:45
To: Thomas Bräutigam
Cc: Robert.Lor@Sun.COM; pgsql-admin@postgresql.org
Subject: Re: Remove Postgres from Solaris 10

I guess what you mean is to remove the "role" postgres so that you can redefine it as a normal user and not remove the
binariesthat are installed with Postgres as they can be overridden by having right PATH variables 

Its easy... Modify /etc/user_attr and remove type=role from the postgres line and modify /etc/passwd to set a home path
andchange default shell to /bin/sh or /bin/bash and set password for it.. and now you have a normal user.. 
Is this what you are trying to do?

-Jignesh


Thomas Bräutigam wrote:
> Hello all,
>
> I have a software solution with a postgres database. The user postgres
> is abolutly needed for my software.
>
> With Solaris 10, Postgres is automatically installed and uses the user
> postgres. How can I easily remove the current postgres install from
> this Solaris 10? Is there a process which is provided from Solaris to
> remove it? Whats the best way to do it?
>
> Thank you for your help.
>
> Cheers Thomas
> **



pgsql-admin by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: 8.1.8 autovacuum missing databases
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Remove Postgres from Solaris 10