module
Version:
v0.0.0-...-a029c08
Opens a new window with list of versions in this module.
Published: Feb 13, 2022
License: Apache-2.0
Opens a new window with license information.
README
¶
Instructions
-
Run make
to build all binaries.
-
In a terminal, cd server
, and run:
sudo systemd-run -p "Delegate=yes" -p "User=$USER" -P --wait ./server
(You could also use nobody
instead of $USER
to further lock down permissions.)
If you don't need cgroup, you can also just run ./server
. See this doc for more
on systemd.
-
In another terminal, cd client
.
./client
by default runs as admin.
- Check out
./client -h
.
./client -cert_file ../certs/client2_cert.pem -key_file ../certs/client2_key.pem
runs as a guest.
- Guests can't stream/query/kill jobs launched by the admin. They can't shut down
the server, either.
- Admins can do anything :).
Directories
¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cgroup
Package cgroup is a simple, incomplete encapsulation of cgroupv2.
|
Package cgroup is a simple, incomplete encapsulation of cgroupv2. |
|
|
|
|
Click to show internal directories.
Click to hide internal directories.