Re: [INTERFACES] getting "fe_setauthsvc: invalid name" error - Mailing list pgsql-interfaces

From Torsten Neuer
Subject Re: [INTERFACES] getting "fe_setauthsvc: invalid name" error
Date
Msg-id 98091607220200.18564@Nicole
Whole thread Raw
In response to Re: [INTERFACES] getting "fe_setauthsvc: invalid name" error  (Midwest Online <mo@midwestonline.com>)
Responses Re: [INTERFACES] getting "fe_setauthsvc: invalid name" error
List 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@inwise.de                 WWW: http://www.inwise.de


pgsql-interfaces by date:

Previous
From: "Eric H. Buschelmann"
Date:
Subject: RPM's
Next
From: Sbragion Denis
Date:
Subject: Re: [INTERFACES] Problems with queries on small/medium sized tables