diff options
-rw-r--r-- | services/Makefile | 1 | ||||
-rw-r--r-- | services/README.md | 5 | ||||
-rw-r--r-- | services/etc/services/bootstrap | 5 |
3 files changed, 9 insertions, 2 deletions
diff --git a/services/Makefile b/services/Makefile index a4db7df1..c537b50d 100644 --- a/services/Makefile +++ b/services/Makefile @@ -26,6 +26,7 @@ $(services_home)/.ssh/authorized_keys: $(services_home)/.ssh $(authorized_keys_f cp $(authorized_keys_file) $(services_home)/.ssh/authorized_keys @echo "restricting authorized_keys..." @sed -i 's#^#command="/bin/cat $(services_home)/services.txt",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty #' $(services_home)/.ssh/authorized_keys + chown services:services $(authorized_keys_file) $(services_home)/services.txt: @echo 'make sure to configure the services correctly in $(services_home)/services.txt' diff --git a/services/README.md b/services/README.md index e0769bce..1fc2bfe3 100644 --- a/services/README.md +++ b/services/README.md @@ -1,5 +1,10 @@ # //services +## install service user + + make create-service-user service-user + $EDITOR /opt/services/services.txt + ## install and run test-server.py as systemd service ### install dependencies diff --git a/services/etc/services/bootstrap b/services/etc/services/bootstrap index f6efe761..65f6b541 100644 --- a/services/etc/services/bootstrap +++ b/services/etc/services/bootstrap @@ -1,6 +1,6 @@ services://destroy services://ire -services://darth_serious:22 +services://darth:22 services://pigstarter:22 services://incept:22 services://rage:22 @@ -8,4 +8,5 @@ services://devstar:22 services://heidi:22 services://geisha:22 services://slowpoke:22 -services://no_omo:22 +services://omo:22 +services://pic:22 |