]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - nixops/ldap_authorized_keys.sh
Add "pub" user
[perso/Immae/Config/Nix.git] / nixops / ldap_authorized_keys.sh
index ceaddbe48474e8cb65b934781382872c5d8c290b..d869d74a063b9dcb076ef0af8e53a04eea0d5234 100755 (executable)
@@ -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