|
From: | Dex Chen |
Subject: | [Jailkit-users] scp only shell (jk_lsh) login failed |
Date: | Thu, 22 Jun 2006 10:42:52 -0600 |
Hi, I installed jailkit2.0 on RedHat2.6 and set the sftp/scp only shell. But,
when I try to login as the jail user, the session aborted and /var/log/messages
has the following entries: Jun 22 10:29:57 cub01 jk_chrootsh[21510]:
now entering jail /home/jail for user mike (512) Jun 22 16:29:57 cub01 jk_lsh[21510]:
jk_lsh, started Jun 22 16:29:57 cub01 jk_lsh[21510]:
uid 512 or gid 512 does not have a name I made sure the /etc/passwd and /home/jail/etc/passwd have
the right entries as shown below: /etc/passwd entry:
mike:x:512:512::/home/jail/./home/mike:/usr/sbin/jk_chrootsh /home/jail/etc/passwd entry: root:x:0:0:root:/root:/bin/bash mike:x:512:512::/home/mike:/usr/sbin/jk_lsh I tried several things and googled it, and can not figure it
out. Please help! I need to get this work as soon as possible. Thanks, Dex |
[Prev in Thread] | Current Thread | [Next in Thread] |