[Top][All Lists]

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

Re: [Jailkit-users] chrootsh login problem

From: Mike Nelson
Subject: Re: [Jailkit-users] chrootsh login problem
Date: Wed, 4 Jan 2006 07:23:38 -0700

I didn't realize it, but the JAIL/etc/passwd file and all the leading dirs up to it had to be chmod a+x. It was a permissions problem. I added the errno() call to the debug output in the jk_chrootsh.c file and it gave me 13:permission denied.

Thanks anyway,

On 1/4/06, Olivier Sessink <address@hidden> wrote:
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?


Jailkit-users mailing list

reply via email to

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