PDA

View Full Version : ISP Manager Pro & jailing


Merlin
05-09-2012, 07:24 PM
I have bought the program ISP Manager Pro.
Because of some specific configuration of my server, I would like to modify the settings for new users:
1) the "home directory" for new users should be created in /home/jail/ folder
2) also the websites and the another functionalities of ISP Manager should create the catalog of services in new home directory
3) As a server security element will be used the script "chroot-jail", which isolates the home directory - without possibility for infiltration the another user account.

http://www.fuschlberger.net/programs/ssh-scp-sftp-chroot-jail/

4) The user couldn't have possibility to browse the another folders, only this in chroot environment
5) In folder /home/jail the chroot script generates already the folder sctructe:
/bin
/dev
/etc
/lib
/lib64
/sbin
/usr
/home - where are created the users accounts with their websites, DNS configuration and mail.
How modify ispmgr.conf to make this?
Any suggestions?

Igor
05-10-2012, 06:47 AM
http://en.ispdoc.com/index.php/ISPmanager_configuration_file_(ISPmanager) see path DefaultHomeDir

http://en.ispdoc.com/index.php/Skeleton_directory - home.skel

http://en.ispdoc.com/index.php/Performing_custom_operations