|
From: | Mike Nelson |
Subject: | Re: [Jailkit-users] chrootsh login problem |
Date: | Wed, 4 Jan 2006 07:23:38 -0700 |
Mike Nelson wrote:
> Jan 1 16:30:45 plain jk_chrootsh[18403]: abort, failed to get user
> information in the jail for user ID 512, check /home/testjail/etc/passwd
>
> Jan 1 16:30:45 plain su(pam_unix)[18402]: session closed for user danno
>
> I get the same error messages if I try to ssh as that user as well.
>
> I'm pretty sure the etc/passwd and JAIL/etc/passwd files look right.
>
> Looking at the jk_chrootsh.c source file I successfully get call chroot(jaildir) so I'm failing on:
>
> pw = getpwuid(getuid());
>
> I know getuid() is working because it's in the log, so getpwuid is failing.
1) are trying the CVS release? that might be a good starting point if
you run into these issues
2) are all files in /lib/tls/libns* also available in the jail?
regards,
Olivier
_______________________________________________
Jailkit-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/jailkit-users
[Prev in Thread] | Current Thread | [Next in Thread] |