I have some users in linux that I want to jail/unjail using bubblewrap. I read your guide "https://openlitespeed.org/kb/bubblewrap-in-openlitespeed/" to install bubblewrap. I installed it in ubuntu 18.04 as root using the below commands:
$ apt install pkg-config libcap-dev automake
$ git clone https://github.com/containers/bubblewrap.git
$ cd bubblewrap
$ git checkout v0.4.1
$ ./autogen.sh
$ make
$ make install
Now I want to jail a linux user named danny so that danny will have access to only certain directories and files.
I want to restrict danny using your bubblewrap.
I read about containers, namespaces, cgroups, etc but I did not get any proper commands to jail/unjail a user.
I also read the guide from where I installed it which is "https://github.com/containers/bubblewrap".
I have searched everywhere.
But I am not understanding what commands to run as I am new to this.
I just want the proper commands to jail-shell a user like DirectAdmin does.
Please help.
$ apt install pkg-config libcap-dev automake
$ git clone https://github.com/containers/bubblewrap.git
$ cd bubblewrap
$ git checkout v0.4.1
$ ./autogen.sh
$ make
$ make install
Now I want to jail a linux user named danny so that danny will have access to only certain directories and files.
I want to restrict danny using your bubblewrap.
I read about containers, namespaces, cgroups, etc but I did not get any proper commands to jail/unjail a user.
I also read the guide from where I installed it which is "https://github.com/containers/bubblewrap".
I have searched everywhere.
But I am not understanding what commands to run as I am new to this.
I just want the proper commands to jail-shell a user like DirectAdmin does.
Please help.