Author: Jim Keller
Date: 15-12-04 06:24
You will definitely want to look into jail(). I know CPanel has a product called jailshell that accomplishes this task, but it's not open source or free. You will most likely need to setup a baby FreeBSD system under every user's home directory, then jail() them into this directory. There is information on how to do this if you google "freebsd jail shell" or a similar phrase. Personally, I would just avoid giving shell access to your users altogether. It's very rare that a hosting customer will actually need shell access, especially since most people would still prefer just to edit locally and upload through FTP.
-Jim Keller
http://jim.centerfuse.net/projects/
|
|