Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] chroot over ssh with pam_chroot

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: "Mathieu L." <lejatorn AT smgl.homelinux.net>
  • To: Mads Laursen <smgl AT dossen.dk>
  • Cc: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] chroot over ssh with pam_chroot
  • Date: Tue, 21 Dec 2004 01:23:27 +0100

On Mon, Dec 20, 2004 at 12:56:35PM +0100, Mads Laursen wrote:
> On 20/12/04 02.32, Mathieu L. wrote:
> > On Mon, Dec 20, 2004 at 12:51:18AM +0100, Mads Laursen wrote:
> >
> > > It's been awfully long since I did any serious chrooting, but I seem
> > > to recall that the "I have no name!" issue is related to the libraries
> > > available in the current view of the filesystem.
>
> Seems I'm a bit mistaken. I did a search for "I have no name" and LFS,
> since that's where I remeber it from, and sure enough, it's in the
> book[1]. It is supposed to be what you get when the current userid is
> not in /etc/passwd. And from your original mail I recall that you
> tried with a fully populated /etc.
>
> > Of course I had ldded every bins I put in the chroot to know which libs
> > I should copy, and subsequently copied those.
>
> That should work, just remember to to check the libs as well, I think
> they can have dependancies themselves (that are not listed by the
> bins).
>
ok, you were right I was just lacking some libs, I copied all the libs
from /lib to lib in the chroot and the naughty prompt disappeared :)
Now, I just need to narrow the number of essential libs, I guess strace
will help here.

Cheers,
Mathieu






Archive powered by MHonArc 2.6.24.

Top of Page