sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: Seth Alan Woolley <seth AT positivism.org>
- To: "Mathieu L." <lejatorn AT smgl.homelinux.net>
- Cc: sm-discuss AT lists.ibiblio.org
- Subject: Re: [SM-Discuss] chroot over ssh with pam_chroot
- Date: Tue, 21 Dec 2004 19:29:52 -0800
On Wed, Dec 22, 2004 at 02:31:07AM +0100, Mathieu L. wrote:
> ok, just in case anyone would be interested, the resolving issue (ie "I
> have no name!" prompt) I had with this chroot was only due to one
> missing lib not returned by ldd; and the winner is:
> libnss_files.so !! :)
For the record, the reason why is well-documented in "man nsswitch.conf".
And, in fact, you might be able to eliminate your need for many run-time
dynamically-linked /lib/libnss_*.so.2 files by tightening up
/etc/nsswitch.conf to look like this:
passwd: files
group: files
shadow: files
hosts: files
networks: files
ethers: files
protocols: files
rpc: files
services: files
That changes the default by not referencing
/lib/libnss_{compat,nis,dns}.so.2 so you only need
/lib/libnss_files.so.2 for all services.
Seth
--
Seth Alan Woolley [seth at positivism.org], SPAM/UCE is unauthorized
Key id EF10E21A = 36AD 8A92 8499 8439 E6A8 3724 D437 AF5D EF10 E21A
http://smgl.positivism.org:11371/pks/lookup?op=get&search=0xEF10E21A
Security Team Leader Source Mage GNU/Linux http://www.sourcemage.org
Attachment:
pgpfHYZ1sdrOs.pgp
Description: PGP signature
-
[SM-Discuss] chroot over ssh with pam_chroot,
Mathieu L., 12/18/2004
-
Re: [SM-Discuss] chroot over ssh with pam_chroot,
Mads Laursen, 12/19/2004
-
Re: [SM-Discuss] chroot over ssh with pam_chroot,
Mathieu L., 12/19/2004
-
Re: [SM-Discuss] chroot over ssh with pam_chroot,
Mads Laursen, 12/20/2004
- Re: [SM-Discuss] chroot over ssh with pam_chroot, Mathieu L., 12/20/2004
-
Re: [SM-Discuss] chroot over ssh with pam_chroot,
Mathieu L., 12/21/2004
- Re: [SM-Discuss] chroot over ssh with pam_chroot, Seth Alan Woolley, 12/21/2004
-
Re: [SM-Discuss] chroot over ssh with pam_chroot,
Mads Laursen, 12/20/2004
-
Re: [SM-Discuss] chroot over ssh with pam_chroot,
Mathieu L., 12/19/2004
-
Re: [SM-Discuss] chroot over ssh with pam_chroot,
Seth Alan Woolley, 12/19/2004
-
Re: [SM-Discuss] chroot over ssh with pam_chroot,
Mathieu L., 12/19/2004
- Re: [SM-Discuss] chroot over ssh with pam_chroot, Seth Alan Woolley, 12/20/2004
-
Re: [SM-Discuss] chroot over ssh with pam_chroot,
Mathieu L., 12/19/2004
- Re: [SM-Discuss] chroot over ssh with pam_chroot, Karsten Behrmann, 12/20/2004
-
Re: [SM-Discuss] chroot over ssh with pam_chroot,
Mads Laursen, 12/19/2004
Archive powered by MHonArc 2.6.24.