jailkit-users
[Top][All Lists]
Advanced

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

[Jailkit-users] RE: Jailkit-users Digest, Vol 9, Issue 16


From: Dex Chen
Subject: [Jailkit-users] RE: Jailkit-users Digest, Vol 9, Issue 16
Date: Fri, 23 Jun 2006 10:41:46 -0600

I was able to login if I use "chroot shell" instead of jk_lsh.

I am new to jailkit, and I did not see any doc or samples on how to use
the jk_lsh after you configured it.  I am assuming that a jailed user
with jk_lsh can login through ssh as other regular shell, such as "ssh
address@hidden".

The group contains the 512. 

Another question: how a jailed user account to change it's passwd?

Thanks for your help,

dex

-----Original Message-----
From: address@hidden
[mailto:address@hidden On
Behalf Of address@hidden
Sent: Friday, June 23, 2006 10:06 AM
To: address@hidden
Subject: Jailkit-users Digest, Vol 9, Issue 16

Send Jailkit-users mailing list submissions to
        address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.nongnu.org/mailman/listinfo/jailkit-users
or, via email, send a message with subject or body 'help' to
        address@hidden

You can reach the person managing the list at
        address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Jailkit-users digest..."


Today's Topics:

   1. scp only shell (jk_lsh) login failed (Dex Chen)
   2. Re: scp only shell (jk_lsh) login failed (Olivier Sessink)


----------------------------------------------------------------------

Message: 1
Date: Thu, 22 Jun 2006 10:42:52 -0600
From: "Dex Chen" <address@hidden>
Subject: [Jailkit-users] scp only shell (jk_lsh) login failed
To: <address@hidden>
Message-ID:
        
<address@hidden>
Content-Type: text/plain; charset="us-ascii"

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.gnu.org/pipermail/jailkit-users/attachments/20060622/4d8f24
86/attachment.html

------------------------------

Message: 2
Date: Thu, 22 Jun 2006 19:53:02 +0200
From: Olivier Sessink <address@hidden>
Subject: Re: [Jailkit-users] scp only shell (jk_lsh) login failed
To: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Dex Chen wrote:
> 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

it could be that /home/jail/etc/group does not have 512 ??

or it could be that you are using ldap, nscd or nis authentication, in 
which case the latest cvs snapshot might help you further.

regards,
        Olivier




------------------------------

_______________________________________________
Jailkit-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/jailkit-users


End of Jailkit-users Digest, Vol 9, Issue 16
********************************************




reply via email to

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