From owner-freebsd-questions@FreeBSD.ORG Sat Apr 25 09:23:29 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB3111065675 for ; Sat, 25 Apr 2009 09:23:29 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (tunnel490.ipv6.xs4all.nl [IPv6:2001:888:10:1ea::2]) by mx1.freebsd.org (Postfix) with ESMTP id 44A7E8FC0A for ; Sat, 25 Apr 2009 09:23:29 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.2/8.14.2) with ESMTP id n3P9MOmQ075598; Sat, 25 Apr 2009 11:22:24 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.2/8.14.2/Submit) id n3P9MMLL075596; Sat, 25 Apr 2009 11:22:22 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Sat, 25 Apr 2009 11:22:22 +0200 From: Ruben de Groot To: Kouichiro Iwao Message-ID: <20090425092222.GA75517@ei.bzerk.org> References: <20090423073229.GA87987@club.kyutech.ac.jp> <20090423091027.GA47290@ei.bzerk.org> <20090423181711.GH40655@hal.rescomp.berkeley.edu> <20090425083416.GA31588@club.kyutech.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090425083416.GA31588@club.kyutech.ac.jp> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (ei.bzerk.org [127.0.0.1]); Sat, 25 Apr 2009 11:23:23 +0200 (CEST) Cc: questions@freebsd.org Subject: Re: how to deceive programs as if I were a local user? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Apr 2009 09:23:30 -0000 On Sat, Apr 25, 2009 at 05:34:16PM +0900, Kouichiro Iwao typed: > On Thu, Apr 23, 2009 at 11:17:11AM -0700, Chris Cowart wrote: > > This error means the program tried to look up some name information for > > your UID number and failed. You need to configure the data source in > > /etc/nsswitch.conf: > > > > group: files cache ldap > > passwd: files cache ldap > > I've already set like you showed. > But, not for /compat/linux/etc/nsswitch.conf . > > Configuring nsswitch.conf in linux emulation environment, > the program worked properly. I did't know I had to set > /compat/linux/etc/nsswitch.conf for linux binary compatibility. That's interesting. Was there a /compat/linux/etc/nsswitch.conf before? I think that if it's not there, the linux emulation layer should take the system's /etc/nsswitch.conf as default. But I might be wrong(TM).