jailkit-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-users] chrootsh login problem


From: Olivier Sessink
Subject: Re: [Jailkit-users] chrootsh login problem
Date: Wed, 04 Jan 2006 09:19:03 +0100
User-agent: Debian Thunderbird 1.0.2 (X11/20051002)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]