mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-02-16 22:06:55 +00:00
- (dtucker) [regress/forcecommand.sh] Portablize.
This commit is contained in:
parent
22c58b0242
commit
28e9ad1bed
@ -137,6 +137,7 @@
|
|||||||
forcecommand tests. Add cipher-speed.sh test (not linked in yet)
|
forcecommand tests. Add cipher-speed.sh test (not linked in yet)
|
||||||
- (dtucker) [cleanup.c] Since config.h defines _LARGE_FILES on AIX, including
|
- (dtucker) [cleanup.c] Since config.h defines _LARGE_FILES on AIX, including
|
||||||
system headers before defines.h will cause conflicting definitions.
|
system headers before defines.h will cause conflicting definitions.
|
||||||
|
- (dtucker) [regress/forcecommand.sh] Portablize.
|
||||||
|
|
||||||
20060713
|
20060713
|
||||||
- (dtucker) [auth-krb5.c auth-pam.c] Still more errno.h
|
- (dtucker) [auth-krb5.c auth-pam.c] Still more errno.h
|
||||||
@ -5055,4 +5056,4 @@
|
|||||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.4437 2006/07/24 13:19:40 dtucker Exp $
|
$Id: ChangeLog,v 1.4438 2006/07/24 13:50:23 dtucker Exp $
|
||||||
|
@ -5,9 +5,9 @@ tid="forced command"
|
|||||||
|
|
||||||
cp $OBJ/sshd_proxy $OBJ/sshd_proxy_bak
|
cp $OBJ/sshd_proxy $OBJ/sshd_proxy_bak
|
||||||
|
|
||||||
echo -n 'command="true" ' >$OBJ/authorized_keys_$USER
|
echon 'command="true" ' >$OBJ/authorized_keys_$USER
|
||||||
cat $OBJ/rsa.pub >> $OBJ/authorized_keys_$USER
|
cat $OBJ/rsa.pub >> $OBJ/authorized_keys_$USER
|
||||||
echo -n 'command="true" ' >>$OBJ/authorized_keys_$USER
|
echon 'command="true" ' >>$OBJ/authorized_keys_$USER
|
||||||
cat $OBJ/rsa1.pub >> $OBJ/authorized_keys_$USER
|
cat $OBJ/rsa1.pub >> $OBJ/authorized_keys_$USER
|
||||||
|
|
||||||
for p in 1 2; do
|
for p in 1 2; do
|
||||||
@ -16,9 +16,9 @@ for p in 1 2; do
|
|||||||
fail "forced command in key proto $p"
|
fail "forced command in key proto $p"
|
||||||
done
|
done
|
||||||
|
|
||||||
echo -n 'command="false" ' >$OBJ/authorized_keys_$USER
|
echon 'command="false" ' >$OBJ/authorized_keys_$USER
|
||||||
cat $OBJ/rsa.pub >> $OBJ/authorized_keys_$USER
|
cat $OBJ/rsa.pub >> $OBJ/authorized_keys_$USER
|
||||||
echo -n 'command="false" ' >>$OBJ/authorized_keys_$USER
|
echon 'command="false" ' >>$OBJ/authorized_keys_$USER
|
||||||
cat $OBJ/rsa1.pub >> $OBJ/authorized_keys_$USER
|
cat $OBJ/rsa1.pub >> $OBJ/authorized_keys_$USER
|
||||||
|
|
||||||
cp $OBJ/sshd_proxy_bak $OBJ/sshd_proxy
|
cp $OBJ/sshd_proxy_bak $OBJ/sshd_proxy
|
||||||
|
Loading…
Reference in New Issue
Block a user