X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=nixops%2Fldap_authorized_keys.sh;h=d869d74a063b9dcb076ef0af8e53a04eea0d5234;hb=5ccc61bb90f4e8959a0866c9ce2e711453d0fd9b;hp=ceaddbe48474e8cb65b934781382872c5d8c290b;hpb=1bb448839addbb1d66ee81141d21d08b1e925faf;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/nixops/ldap_authorized_keys.sh b/nixops/ldap_authorized_keys.sh index ceaddbe..d869d74 100755 --- a/nixops/ldap_authorized_keys.sh +++ b/nixops/ldap_authorized_keys.sh @@ -92,7 +92,7 @@ ldap_keys() { key_forward=$(clean_key_line forward "$line") if [ ! -z "$key" ]; then if [[ $key != *$'\n'* ]] && [[ $key == ssh-* ]]; then - echo -n 'command="$HOME/bin/restrict '$user'" ' + echo -n 'command="/etc/profiles/per-user/pub/bin/restrict '$user'" ' echo $key fi elif [ ! -z "$key_forward" ]; then