Displaying 2 results from an estimated 2 matches for "have_getpeerucr".
Did you mean:
have_getpeerucred
2018 Aug 17
3
Call for testing: OpenSSH 7.8
On SPARC Solaris 10, using Solaris' native OpenSSL and Solaris
Studio 12.2, I got the following errors:
run test agent-getpeereid.sh ...
ssh-add did not fail for nobody: 1 < 2
failed disallow agent attach from other uid
gmake[1]: *** [t-exec] Error 1
gmake[1]: Leaving directory
`/scratch/wieland/src/openssh/openssh-SNAP-20180817/regress'
gmake: *** [tests] Error 2
--
Jeff Wieland,
2006 Sep 25
1
[PATCH] implementation of getpeereid() for Solaris
...ich implements getpeereid() function in OpenSSH with
getpeerucred() in case that ucred.h and getpeerucred() are present. I then
generated new configure script via autoconf, configured and built on Solaris
and FreeBSD. It seems fine.
I changed regress/agent-getpeereid.sh to accept existence of
HAVE_GETPEERUCRED and added missing check for HAVE_SO_PEERCRED.
I also suggest this change:
< /dev/null ${SUDO} -S -u ${UNPRIV} ssh-add -l > /dev/null 2>&1
r=$?
- if [ $r -lt 2 ]; then
+ if [ $r -le 2 ]; then
fail "ssh-add did not fail for ${UNPRIV}:...