[24653] in Athena Bugs
Re: linux 9.2.20: anonftpd fails
daemon@ATHENA.MIT.EDU (Aaron M. Ucko)
Sat Oct 11 16:20:35 2003
To: John Hawkinson <jhawk@MIT.EDU>
Cc: bugs@MIT.EDU
From: amu@alum.mit.edu (Aaron M. Ucko)
Date: Sat, 11 Oct 2003 16:20:34 -0400
In-Reply-To: <bugs:24628@unknown-discuss-server> (John Hawkinson's message
of "Fri, 10 Oct 2003 17:01:04 -0400 (EDT)")
Message-ID: <udl8ynrjzl9.fsf@multics.mit.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
John Hawkinson <jhawk@MIT.EDU> writes:
> As a minor issue, we also observed that /bin/ls, when copied to a
> chrooted environment with the 3 shared objects ldd reports it depends
> upon, as well as /etc/passwd, /etc/group, and /etc/nsswitch.conf,
> failed to do numeric->string translation on uids or gids. An strace
> showed that it did not attempt to read the password file.
You also need whatever nss modules nsswitch.conf specifies -- probably
/lib/libnss_compat.so.2 and /lib/libnss_files.so.2 should suffice.
--
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
Finger amu@monk.mit.edu (NOT a valid e-mail address) for more info.