ISPConfig Jailkit Setting. How does it work?
Still anyone solution for my issue in this forum. I read different post but I don't find what I need ... then I decide to write this post
I have a Jailkik Chroot for the USER Salx with salxssh username for the ssh connection (in the option I set that dir: /var/www/clients/client2/salx.mywebsitedomain.com/web)
but when I connect via ssh ...
1. I am in this dir
2. when I try do browse the directory I can reach the root! and see all webserver filesystem
I think something wrong
MY QUESTION IS!?
I have set the Jailkit CHROOT SHELL USER in ISPConfig or not!?
IF THE ANSWER IS NO I HAVE TO FOLLOW THIS STEPS TO SET A Jailkit CHROOT SHELL for the user?
//////////////////////////// WARNING READ ALL THE POST ///////////////
# Initialise the jail
chown root:root /home/ssh
chmod 0755 /home/ssh
jk_init -j /home/ssh jk_lsh
jk_init -j /home/ssh ssh
# Create the account
jk_addjailuser -j /home/ssh test
# Edit the jk_lsh configfile in the jail; see man jk_lsh..
# You can use every editor you want; I choose 'joe'
# Restart jk_socketd so that log messages are transferred
# Test the account
# Check the logs to see if everything is correct
tail /var/log/daemon.log /var/log/auth.log
////////////////////////////// WARNIN READ ALL THE POST /////////////////
thank you in advance
1) Thats ok. /var/www/clients/client2/salx.mywebsitedomain.com is not a directory, its a symlinkt to /var/www/clients/web4
grep web4 /etc/passwd
and if jailkit is installed correctly.
When you say
|All times are GMT +2. The time now is 21:09.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.