summaryrefslogtreecommitdiffstats
path: root/services/Makefile
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2013-07-17 01:49:37 +0200
committermakefu <github@syntax-fehler.de>2013-07-17 01:49:37 +0200
commit68610b9c200dc54e05f591b956ed162f5331f692 (patch)
treeb316f076d420ed7b572c399e5961fa6af5a06c21 /services/Makefile
parent269def479df1f08939d8dbf6802ac679e0b2e6ff (diff)
fix services
Diffstat (limited to 'services/Makefile')
-rw-r--r--services/Makefile1
1 files changed, 1 insertions, 0 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'