Skip site navigation (1) Skip section navigation (2)

Re: [INTERFACES] getting "fe_setauthsvc: invalid name" error

From: Torsten Neuer <tneuer(at)inwise(dot)de>
To: pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] getting "fe_setauthsvc: invalid name" error
Date: 1998-09-16 05:11:19
Message-ID: 98091607220200.18564@Nicole (view raw or flat)
Thread:
Lists: pgsql-interfaces
Clint wrote:
>
>I think you're right, Tom.  If I run the program on my Linux box as a
>different user, I get the same error.  Now, how do I set the username
>from C/C++??  I can't figure it out from the docs ...
>
At the first glance I would suggest you either do a chown(1) on
the program binary so that is executes as the correct user or you
have a set*id(2) call somewhere in the program source.
However, you should take care with that as this can result in a
security leak in your system.

Torsten

--
InWise - Wirtschaftlich-Wissenschaftlicher Internet Service GmbH
Friedrichshulder Weg 56                     Tel: +49-4101-403605
D-25469 Halstenbek                          Fax: +49-4101-403606
E-Mail: info(at)inwise(dot)de                 WWW: http://www.inwise.de


In response to

Responses

pgsql-interfaces by date

Next:From: Sbragion DenisDate: 1998-09-16 07:03:49
Subject: Re: [INTERFACES] Problems with queries on small/medium sized tables
Previous:From: Eric H. BuschelmannDate: 1998-09-16 04:20:16
Subject: RPM's

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group