From: | "Jignesh K(dot) Shah" <J(dot)K(dot)Shah(at)Sun(dot)COM> |
---|---|
To: | Thomas Bräutigam <thomas(dot)braeutigam(at)nexustelecom(dot)com> |
Cc: | Robert(dot)Lor(at)Sun(dot)COM, pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Remove Postgres from Solaris 10 |
Date: | 2008-04-29 02:44:42 |
Message-ID: | 48168B9A.8060704@sun.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
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 binaries that 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 and change 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
> **
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Koczan | 2008-04-29 05:05:11 | Bus error in postgres 8.3 |
Previous Message | Thomas Bräutigam | 2008-04-29 01:08:26 | Remove Postgres from Solaris 10 |