Midnight Commander subshell in chroot

Discussion in 'Installation/Configuration' started by zion, Nov 19, 2013.

  1. zion

    zion New Member

    I can configure jailkit with mc, but when users start it, and try to write a command is subshell (ctrl+o) it does not work - just give mc back.

    Can you help me how to use Midnight Commander subshell in chroot?

    [email protected]:~$ mc --version
    GNU Midnight Commander 4.8.3
    Built with GLib 2.32.4
    Using the S-Lang library with terminfo database
    With builtin Editor
    With subshell support as default
    With support for background operations
    With mouse support on xterm and Linux console
    With support for X11 events
    With internationalization support
    With multiple codepages support
    Virtual File Systems: cpiofs, tarfs, sfs, extfs, ext2undelfs, ftpfs, fish
    Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;
  2. zion

    zion New Member

    6.6 When I use Ctrl-O I don't get a subshell.  How do I fix this?
       Only bash, tcsh and zsh can be used as subshell.  Use one of those
       shells as your default shell, and it will be used as subshell in GNU
       Midnight Commander.
    So I think I can not use subshell in chroot, because my user shell is /usr/sbin/jk_chrootsh in the "main system", and it looks like doesn't matter if my user shell is bash in chroot.
    What do you think? Am I right?
  3. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    Yes, I think so.

Share This Page