Received: from Nicole.inwise.de (Nicole.inwise.de [62.156.182.3]) by hub.org (8.8.8/8.8.8) with ESMTP id BAA15522 for ; Wed, 16 Sep 1998 01:20:28 -0400 (EDT) (envelope-from tneuer@inwise.de) Received: from localhost (localhost [[UNIX: localhost]]) by Nicole.inwise.de (8.8.8/8.8.8) id HAA18631 for pgsql-interfaces@postgreSQL.org; Wed, 16 Sep 1998 07:22:03 +0200 From: Torsten Neuer Reply-To: tneuer@inwise.de To: pgsql-interfaces@postgreSQL.org Subject: Re: [INTERFACES] getting "fe_setauthsvc: invalid name" error Date: Wed, 16 Sep 1998 07:11:19 +0200 X-Mailer: KMail [version 0.7.9] Content-Type: text/plain References: <35FEED4B.643ACD6@midwestonline.com> MIME-Version: 1.0 Message-Id: <98091607220200.18564@Nicole> Content-Transfer-Encoding: 8bit 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