problem with /etc/passwd entry ispconfig with jailkit 2.11

Discussion in 'Installation/Configuration' started by inittab, Apr 28, 2010.

  1. inittab

    inittab New Member

    Hi I have a clean installation of ispconfig w/ jailkit on a new 9.10 system and I'm having some trouble with the chroot'ed /etc/passwd for ssh users.

    The user line for the jailkitted user does not have the home directory listed

    [email protected]:~$ cat /etc/passwd
    [email protected]:~$

    This causes issue with library calls like getpwuid(getuid())->pw_dir and getting the users home directory.

    One example of this being an issue is irssi:

    [email protected]:~$ irssi

    ** ERROR **: Couldn't create /.irssi directory

    This should be trying to create $HOME/.irssi but ends up trying to create /.irssi instead

    Any help is appreciated. thanks
    Last edited: Apr 28, 2010
  2. nagl

    nagl New Member

    Yeah, it's still a problem.

    However, if you like to run irssi, you can enable perl in ISPConfig panel (system > server config > your_server > jailkit > Jailkit chroot app sections) and run irssi using command irssi --home=$HOME

Share This Page