jailkit-dev
[Top][All Lists]
Advanced

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

[Jailkit-dev] [bug #26089] jk_chrootsh hangs at login in Jailkit 2.6 (re


From: David Ward
Subject: [Jailkit-dev] [bug #26089] jk_chrootsh hangs at login in Jailkit 2.6 (regression)
Date: Sun, 05 Apr 2009 06:22:28 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008101315 Ubuntu/8.10 (intrepid) Firefox/3.0.3

URL:
  <http://savannah.nongnu.org/bugs/?26089>

                 Summary: jk_chrootsh hangs at login in Jailkit 2.6
(regression)
                 Project: Jailkit
            Submitted by: dpward
            Submitted on: Sun 05 Apr 2009 06:22:24 AM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

I am using Jailkit 2.6 under Ubuntu 8.10, Ubuntu 7.04 (EOL), and Fedora 10.

When I log in to a jailed user account (with the shell set to
/usr/sbin/jk_chrootsh), the login process hangs indefinitely.  No errors
appear in stderr or any of the logs that I can see.  I eventually just have to
use Ctrl+C to cancel the login attempt.  If I uninstall Jailkit 2.6 and
reinstall Jailkit 2.5 without touching any files or configuration, the problem
goes away immediately.

The steps I am performing after installing Jailkit include the following (all
with sudo):

mkdir /jail
jk_init -v /jail basicshell
adduser hacker
passwd hacker
rm /home/hacker/Examples  # Ubuntu only; remove default symlink
jk_jailuser -m -s /bin/bash -j /jail hacker

Then I try to access the account with either 'su hacker' or 'ssh
address@hidden' and it hangs right after it accepts the password.

Thanks.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?26089>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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