Find the answer to your Linux question:
Results 1 to 3 of 3
Hey alles! I've setup chroot jail with scponlyc on Debian 4 and I'm wondering if there is a way to allow shell access to that specific user and only in ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! rectospander's Avatar
    Join Date
    Jul 2007
    Location
    Sweden
    Posts
    13

    jail chroot with shell access?


    Hey alles!

    I've setup chroot jail with scponlyc on Debian 4 and I'm wondering if there is a way to allow shell access to that specific user and only in the HOMEDIR?

  2. #2
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429
    I used to have the same prob.
    I have no idea what scponlyc is.
    But check out the Jailkit.
    Its a good program I use it aswell for the Exact same goal.
    New Users, please read this..
    Google first, then ask..

  3. #3
    Just Joined! rectospander's Avatar
    Join Date
    Jul 2007
    Location
    Sweden
    Posts
    13
    For some reasons I cannot install it, so after many attempts I lost faith in jailkit and found this script:

    fuschlberger.net - Howto Setup a chroot-jail for ssh/scp with Linux

    But,,,, as allways when you get something you want more

    I would like screen to work inside the jailed account. At the moment i get the "error": Must be connected to a terminal.
    Have tried to add screen in various ways but no go.
    Do any one have used this script with screen enabled or have a other way to do it then do not hesitate to enlighten me.

    Cya around!
    /recto

Posting Permissions

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