зеркало из https://github.com/Azure/sonic-openssh.git
- jmc@cvs.openbsd.org 2007/11/25 15:35:09
[regress/agent-getpeereid.sh regress/agent.sh] more existant -> existent, from Martynas Venckus; pfctl changes: ok henning ssh changes: ok deraadt
This commit is contained in:
Родитель
a5e584274d
Коммит
d666d8e5d4
|
@ -3,6 +3,11 @@
|
|||
- dtucker@cvs.openbsd.org 2007/10/29 06:57:13
|
||||
[regress/Makefile regress/localcommand.sh]
|
||||
Add simple regress test for LocalCommand; ok djm@
|
||||
- jmc@cvs.openbsd.org 2007/11/25 15:35:09
|
||||
[regress/agent-getpeereid.sh regress/agent.sh]
|
||||
more existant -> existent, from Martynas Venckus;
|
||||
pfctl changes: ok henning
|
||||
ssh changes: ok deraadt
|
||||
|
||||
20080311
|
||||
- (dtucker) [auth-pam.c monitor.c session.c sshd.c] Bug #926: Move
|
||||
|
@ -3724,4 +3729,4 @@
|
|||
OpenServer 6 and add osr5bigcrypt support so when someone migrates
|
||||
passwords between UnixWare and OpenServer they will still work. OK dtucker@
|
||||
|
||||
$Id: ChangeLog,v 1.4867 2008/03/12 12:58:05 djm Exp $
|
||||
$Id: ChangeLog,v 1.4868 2008/03/12 12:58:55 djm Exp $
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
# $OpenBSD: agent-getpeereid.sh,v 1.3 2006/07/06 12:01:53 grunk Exp $
|
||||
# $OpenBSD: agent-getpeereid.sh,v 1.4 2007/11/25 15:35:09 jmc Exp $
|
||||
# Placed in the Public Domain.
|
||||
|
||||
tid="disallow agent attach from other uid"
|
||||
|
||||
UNPRIV=nobody
|
||||
ASOCK=${OBJ}/agent
|
||||
SSH_AUTH_SOCK=/nonexistant
|
||||
SSH_AUTH_SOCK=/nonexistent
|
||||
|
||||
if grep "#undef.*HAVE_GETPEEREID" ${BUILDDIR}/config.h >/dev/null 2>&1 && \
|
||||
grep "#undef.*HAVE_GETPEERUCRED" ${BUILDDIR}/config.h >/dev/null && \
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# $OpenBSD: agent.sh,v 1.6 2002/03/15 13:08:56 markus Exp $
|
||||
# $OpenBSD: agent.sh,v 1.7 2007/11/25 15:35:09 jmc Exp $
|
||||
# Placed in the Public Domain.
|
||||
|
||||
tid="simple agent test"
|
||||
|
||||
SSH_AUTH_SOCK=/nonexistant ${SSHADD} -l > /dev/null 2>&1
|
||||
SSH_AUTH_SOCK=/nonexistent ${SSHADD} -l > /dev/null 2>&1
|
||||
if [ $? -ne 2 ]; then
|
||||
fail "ssh-add -l did not fail with exit code 2"
|
||||
fi
|
||||
|
|
Загрузка…
Ссылка в новой задаче