05-31-2013
1,
0
Join Date: May 2013
Last Activity: 31 May 2013, 6:05 AM EDT
Posts: 1
Thanks Given: 0
Thanked 0 Times in 0 Posts
How to jail a process?
Hello people,
I'm creating a web game control panel, where people can manage their gameserver on a php made control panel.
But i have no idea how to create an jailed inviroment for the gameserver,
I've looked at possebilites for chroot, but i don't want the gameserver has any binaries of linux in it's directory.
What i'm looking for (Example):
Gameserver location: /home/gameservers/users/user873/
so all the gameserver files are in this path, but it needs to be jailed so if the gameserver is executing any kind of shell or trying to access any upper directory, it just get's denied!
Thanks in advance.