View Single Post
Old 4th May 2012, 20:39
halsafar halsafar is offline
Junior Member
Join Date: May 2012
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Default Jailkit Problems

*Please move to appropriate category*

Followed perfect server configuration on Ubuntu 12.04 every step of the way in the exact order. Everything was fine up until attempting to setup shell users in ISPConfig that are jailed.

Making a post with some solutions as Google lacks good help in this area.

Problem: namespace resolution and cannot scp/sftp
- Jailed users could not perform name resolution (errors with wget for example)
- Jailed users could not use scp (unknown user $uid)
Solution to both (replace # with your client and site numbers):
cp /lib/x86_64-linux-gnu/libnss_* /var/www/clients/client#/web#/lib/x86_64-linux-gnu/
Permanent solution likely involves a fix in /etc/jailkit/jk_init.ini. The paths it contains are wrong for some of the libs and it does not list all the necessary libs.
Problem: nano, pico "Error opening terminal: xterm"
- likely caused because xterm libraries are missing
- you maybe don't want xterm as your choice
Still trying to fix this one
Reply With Quote
Sponsored Links