Results 1 to 3 of 3
  1. #1
    lestat88 is offline Junior Member
    Join Date
    Nov 2009
    Location
    Sydney
    Posts
    72

    Linux Question - Jailkit

    Hi Guys
    This maybe a stab in the dark, not sure on if anyone here would be able to help me, but I have ubuntu running a VPS and I am trying to get jailkit to work. I put it on the ubuntu forums but noone has been able to assist.

    I have been having a few issues with the jailkit (http://olivier.sessink.nl/jailkit/jailkit-2.10.tar.gz)
    I have created the environment and added a user.

    Environment location:
    /home/jail

    tail /etc/passwd:
    test:x:1002:1002::/home/jail/./home/test:/usr/sbin/jk_chrootsh
    tail /home/jail/etc/passwd
    test:x:1002:1002::/home/test:/bin/bash
    /usr/sbin/jk_chrootsh is included in /etc/shells


    but as you can see below I am unable to run anything as the jailed user, even after I have used the jk_cp script

    root@server:~# su test
    bash: groups: command not found
    test@server:~$ nano
    Error opening terminal: unknown.
    test@server:~$ echo $TERM
    dumb
    Has anyone else had this issue?

  2. #2
    Scabtree's Avatar
    Scabtree is offline Associate Member
    Join Date
    Feb 2010
    Location
    Canada
    Posts
    465
    Hi; If your using version 2.10, it would be a good idea to upgrade to 2.13. In this version, binaries are resolve using the PATH environment variable;

  3. #3
    lestat88 is offline Junior Member
    Join Date
    Nov 2009
    Location
    Sydney
    Posts
    72
    thanks, I'll try again and see what happens, just rebuilt the server so I can use ssh keychains correctly

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •