diff options
Diffstat (limited to 'nixops/ldap_authorized_keys.sh')
-rwxr-xr-x | nixops/ldap_authorized_keys.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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() { | |||
92 | key_forward=$(clean_key_line forward "$line") | 92 | key_forward=$(clean_key_line forward "$line") |
93 | if [ ! -z "$key" ]; then | 93 | if [ ! -z "$key" ]; then |
94 | if [[ $key != *$'\n'* ]] && [[ $key == ssh-* ]]; then | 94 | if [[ $key != *$'\n'* ]] && [[ $key == ssh-* ]]; then |
95 | echo -n 'command="$HOME/bin/restrict '$user'" ' | 95 | echo -n 'command="/etc/profiles/per-user/pub/bin/restrict '$user'" ' |
96 | echo $key | 96 | echo $key |
97 | fi | 97 | fi |
98 | elif [ ! -z "$key_forward" ]; then | 98 | elif [ ! -z "$key_forward" ]; then |