Enhancement: Remove NT/Interactive from Power Users Group

Started by Mehul Doshi-A20614about 21 years ago3 messagesbugs
Jump to latest
#1Mehul Doshi-A20614
mehul@motorola.com

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

#2Magnus Hagander
magnus@hagander.net
In reply to: Mehul Doshi-A20614 (#1)
Re: Enhancement: Remove NT/Interactive from Power Users Group

No, we don't want to go mucking about with the system groups. Other software that doesn't care about security might be broken 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

#3Bruce Momjian
bruce@momjian.us
In reply to: Magnus Hagander (#2)
Re: [BUGS] Enhancement: Remove NT/Interactive from Power Users Group

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 be broken 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