mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 08:14:24 +02:00
- 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:
parent
a5e584274d
commit
d666d8e5d4
@ -3,6 +3,11 @@
|
|||||||
- dtucker@cvs.openbsd.org 2007/10/29 06:57:13
|
- dtucker@cvs.openbsd.org 2007/10/29 06:57:13
|
||||||
[regress/Makefile regress/localcommand.sh]
|
[regress/Makefile regress/localcommand.sh]
|
||||||
Add simple regress test for LocalCommand; ok djm@
|
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
|
20080311
|
||||||
- (dtucker) [auth-pam.c monitor.c session.c sshd.c] Bug #926: Move
|
- (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
|
OpenServer 6 and add osr5bigcrypt support so when someone migrates
|
||||||
passwords between UnixWare and OpenServer they will still work. OK dtucker@
|
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.
|
# Placed in the Public Domain.
|
||||||
|
|
||||||
tid="disallow agent attach from other uid"
|
tid="disallow agent attach from other uid"
|
||||||
|
|
||||||
UNPRIV=nobody
|
UNPRIV=nobody
|
||||||
ASOCK=${OBJ}/agent
|
ASOCK=${OBJ}/agent
|
||||||
SSH_AUTH_SOCK=/nonexistant
|
SSH_AUTH_SOCK=/nonexistent
|
||||||
|
|
||||||
if grep "#undef.*HAVE_GETPEEREID" ${BUILDDIR}/config.h >/dev/null 2>&1 && \
|
if grep "#undef.*HAVE_GETPEEREID" ${BUILDDIR}/config.h >/dev/null 2>&1 && \
|
||||||
grep "#undef.*HAVE_GETPEERUCRED" ${BUILDDIR}/config.h >/dev/null && \
|
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.
|
# Placed in the Public Domain.
|
||||||
|
|
||||||
tid="simple agent test"
|
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
|
if [ $? -ne 2 ]; then
|
||||||
fail "ssh-add -l did not fail with exit code 2"
|
fail "ssh-add -l did not fail with exit code 2"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user