From 8d55bd722c3cc6ddd40e4f99ffc93e6416b8f736 Mon Sep 17 00:00:00 2001 From: Sitaram Chamarty Date: Wed, 14 Apr 2010 09:49:09 +0530 Subject: [PATCH] (minor fixup) --- src/gl-compile-conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/gl-compile-conf b/src/gl-compile-conf index 2d9de2f..60046df 100755 --- a/src/gl-compile-conf +++ b/src/gl-compile-conf @@ -75,8 +75,7 @@ $ENV{PATH} .= ":$GIT_PATH" if $GIT_PATH; # command and options for authorized_keys $AUTH_COMMAND="$bindir/gl-auth-command"; -$AUTH_OPTIONS="no-port-forwarding,no-X11-forwarding,no-agent-forwarding"; - # note, for most users there's also a "no-pty" added to this, see later +$AUTH_OPTIONS="no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty"; # groups can now represent user groups or repo groups. @@ -544,7 +543,7 @@ for my $pubkey (`find . -type f`) print STDERR "WARNING: a pubkey file can only have one line (key); ignoring $pubkey\n"; next; } - print $newkeys_fh "command=\"$AUTH_COMMAND $user\",$AUTH_OPTIONS,no-pty "; + print $newkeys_fh "command=\"$AUTH_COMMAND $user\",$AUTH_OPTIONS "; print $newkeys_fh $pubkey_content; } # lint check 3; a little more severe than the first two I guess...