diff options
| -rwxr-xr-x | remote/modules/ssh-auth-keys/data/opt/openslx/scripts/systemd-ssh_auth_keys | 3 |
1 files changed, 0 insertions, 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 |
