Re: [BUGS] Enhancement: Remove NT/Interactive from Power Users Group - Mailing list pgsql-hackers-win32

From Bruce Momjian
Subject Re: [BUGS] Enhancement: Remove NT/Interactive from Power Users Group
Date
Msg-id 200503300635.j2U6ZeY22712@candle.pha.pa.us
Whole thread Raw
List pgsql-hackers-win32
Speaking of users, what are we doing about the creation of a 'postgres'
user on XP home with no easy way for the user to remove it except via
the command line?

Today I was with the person who reported this problem and I can confirm
that on XP Home the command line is the only way to remove it.  I am not
sure it has to be an FAQ but I am wondering why more people don't
complain about it.

---------------------------------------------------------------------------

Magnus Hagander wrote:
> No, we don't want to go mucking about with the system groups. Other software that doesn't care about security might
bebroken in that case - it has to be a specific step by the admin. 
>
> You can remove it from the commandline using:
> net localgroup "Power Users" interactive /delete
>
> //Magnus
>
>
>     -----Ursprungligt meddelande-----
>     Fr?n: pgsql-bugs-owner@postgresql.org [mailto:pgsql-bugs-owner@postgresql.org] F?r Mehul Doshi-A20614
>     Skickat: den 29 mars 2005 18:14
>     Till: pgsql-bugs@postgresql.org
>     Kopia: Mehul Doshi-A20614
>     ?mne: [BUGS] Enhancement: Remove NT/Interactive from Power Users Group
>
>
>     Hi,
>
>     I would say that the Installer executable always fails if NT/Interactive user is there in the Power User's group.

>     Can we enhance the code, so that  just for installation it goes and removes interactive users prior to the actual
>     installation & once installation is successful add it back there?
>
>     Alternately does anybody know of a script which will do that?
>
>     Thanks & Regards,
>     Mehul
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-hackers-win32 by date:

Previous
From: "Dave Page"
Date:
Subject: Re: writing backend extensions using Visual Studio
Next
From: "Magnus Hagander"
Date:
Subject: Re: [BUGS] Enhancement: Remove NT/Interactive from Power Users Group