Received: from localhost (unknown [200.46.204.184]) by developer.postgresql.org (Postfix) with ESMTP id A67C42E0032 for ; Mon, 28 Apr 2008 23:44:47 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 83876-05 for ; Mon, 28 Apr 2008 23:44:35 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from brmea-mail-4.sun.com (brmea-mail-4.Sun.COM [192.18.98.36]) by developer.postgresql.org (Postfix) with ESMTP id 4357D2E004C for ; Mon, 28 Apr 2008 23:44:44 -0300 (ADT) Received: from fe-amer-09.sun.com ([192.18.109.79]) by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id m3T2ignf001375 for ; Tue, 29 Apr 2008 02:44:42 GMT Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0K0200I01FLUVO00@mail-amer.sun.com> (original mail from J.K.Shah@Sun.COM) for pgsql-admin@postgresql.org; Mon, 28 Apr 2008 20:44:42 -0600 (MDT) Received: from Macintosh-4.local ([76.19.46.33]) by mail-amer.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0K0200IC3FMHCF00@mail-amer.sun.com>; Mon, 28 Apr 2008 20:44:42 -0600 (MDT) Date: Mon, 28 Apr 2008 22:44:42 -0400 From: "Jignesh K. Shah" Subject: Re: Remove Postgres from Solaris 10 In-reply-to: <46F5921DF52F6E40860287B30CADADC78172B9@EROS.nexus-ag.com> To: =?ISO-8859-1?Q?Thomas_Br=E4utigam?= Cc: Robert.Lor@Sun.COM, pgsql-admin@postgresql.org Message-id: <48168B9A.8060704@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 8BIT References: <46F5921DF52F6E40860287B30CADADC78172B9@EROS.nexus-ag.com> User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200804/272 X-Sequence-Number: 29036 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 > **