Re: PgSQL not as Administrator - probs on windows

"Gary Doades" <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <40E3C8C5.19642.45A4410B@localhost>
On 1 Jul 2004 at 6:55, Harald Armin Massa wrote:

> it is MUCH MORE common to have Administrator-Privileges when running a 
> Windows-System than when running Unix. BECAUSE a lot of programs DO NOT 
> WORK if you do not have these privileges.
> 
> Especially home-users usually have their default user working as 
> Administrator.
> 
> I recommend that we add an option to "do not check for Administrator, I 
> know I do something dangerous" for windows; at least when starting 
> Postgresql from the command line.
> 

I agree. Dictating what the user can or can't do on their own machine is not nice. If 
the user wants to format his hard disk then let him. Warn him a lot, but still let him. 
As long as the user is made aware of the consequences then that is as far as it 
should go.
 
Unfortunately I can't run my normal development user without admin privileges as 
quite a bit of the testing needs privileges for registry, files, debugging etc..

In the mean time you can use the runas command (at least in XP)

i.e 

C:\pgsql> runas /user:gary\test "postmaster -i"

or whatever...

Cheers,
Gary.


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.