From 1d9e68fcdca9679f8f9a86eb81ccd9f0af466519 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Mon, 9 Feb 2015 17:48:54 +0100 Subject: [ssh-auth-keys] removed root check - in /root anyway, so pointless --- .../ssh-auth-keys/data/opt/openslx/scripts/systemd-ssh_auth_keys | 3 --- 1 file changed, 3 deletions(-) diff --git a/remote/modules/ssh-auth-keys/data/opt/openslx/scripts/systemd-ssh_auth_keys b/remote/modules/ssh-auth-keys/data/opt/openslx/scripts/systemd-ssh_auth_keys index b3c7a6fe..08ad7d2c 100755 --- a/remote/modules/ssh-auth-keys/data/opt/openslx/scripts/systemd-ssh_auth_keys +++ b/remote/modules/ssh-auth-keys/data/opt/openslx/scripts/systemd-ssh_auth_keys @@ -3,9 +3,6 @@ AUTH_KEYS_DIR="/root/.ssh/authorized_keys.d/" AUTH_KEYS_FILE="/root/.ssh/authorized_keys" -# root-check -[ "$(id -u)" -ne 0 ] && echo "Need to be root. Exiting." && exit 1 - # do we even have the directory? [ ! -d "$AUTH_KEYS_DIR" ] && echo "No such directory: $AUTH_KEYS_DIR" && exit 1 -- cgit v1.2.3-55-g7522