(minor fixup)

This commit is contained in:
Sitaram Chamarty 2010-04-14 09:49:09 +05:30
parent 0f6079c7a6
commit 8d55bd722c

View file

@ -75,8 +75,7 @@ $ENV{PATH} .= ":$GIT_PATH" if $GIT_PATH;
# command and options for authorized_keys # command and options for authorized_keys
$AUTH_COMMAND="$bindir/gl-auth-command"; $AUTH_COMMAND="$bindir/gl-auth-command";
$AUTH_OPTIONS="no-port-forwarding,no-X11-forwarding,no-agent-forwarding"; $AUTH_OPTIONS="no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty";
# note, for most users there's also a "no-pty" added to this, see later
# groups can now represent user groups or repo groups. # 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"; print STDERR "WARNING: a pubkey file can only have one line (key); ignoring $pubkey\n";
next; 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; print $newkeys_fh $pubkey_content;
} }
# lint check 3; a little more severe than the first two I guess... # lint check 3; a little more severe than the first two I guess...