how to deceive programs as if I were a local user?
Ruben de Groot
mail25 at bzerk.org
Sat Apr 25 09:23:30 UTC 2009
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).
More information about the freebsd-questions
mailing list