Displaying 5 results from an estimated 5 matches for "_posix_saved_ids".
2001 Oct 10
1
openssh on LynxOS issues! - Changes and addons.
...exits. I don't know why this happens. The problem
is with the sftp client program in LynxOS. Does it
work for anyone (sftp client program in LynxOS)?
2. Does anyone use ssh client with seteuid to root?
and it still works? or is there a problem with LynxOS
that seteuid() doesn't work with _POSIX_SAVED_IDS?
3. One more problem. sshd run on LynxOS and ssh
client from Linux system. ssh client hangs on exit.
$ssh hari at lynx (From Linux)
password:
lynx>...
lynx>exit
hangs ......
I don't think it is the regular hang-on-exit bug,
because there are no background processes running, I
suppos...
2001 Apr 25
0
NeXT // Broken _POSIX_SAVED_ID patch
...s no where near as big as it looks. The patch was
done against an earily version of the tree which had an issue with
white space.
- Ben
--- ../openssh/uidswap.c Sun Apr 22 06:58:50 2001
+++ uidswap.c.new Tue Apr 24 20:13:22 2001
@@ -26,17 +26,21 @@
* POSIX saved uids or not.
*/
+#if defined(_POSIX_SAVED_IDS) && !defined(BROKEN_SAVED_UIDS)
/* Lets assume that posix saved ids also work with seteuid, even though that
is not part of the posix specification. */
-
+#define SAVED_IDS_WORK_WITH_SETEUID
+/* Saved effective uid. */
+static uid_t saved_euid = 0;
+static gid_t saved_egid = 0;
+#endi...
2001 Oct 10
4
openssh on LynxOS issues!
...d of ssh program
to root as it does not work in LynxOS (may be problem
with saved ids). Might this be a problem. Does it work
for anyone (sftp localhost)?
2. Does anyone use ssh client with seteuid to root?
and it still works? or is there a problem with LynxOS
that seteuid() doesn't work with _POSIX_SAVED_IDS?
3. One more problem. sshd run on LynxOS and ssh
client from Linux system. ssh client hangs on exit.
$ssh hari at lynx (From Linux)
password:
lynx>...
lynx>exit
hangs ......
I don't think it is the regular hang-on-exit bug,
because there are no background processes running, I
suppos...
2000 Jan 27
0
more NetBSD patches, for OpenSSH V1.2.2
...uidswap.c.orig Thu Jan 20 14:18:16 2000
+++ uidswap.c Thu Jan 27 17:04:38 2000
@@ -26,8 +26,10 @@
is not part of the posix specification. */
#define SAVED_IDS_WORK_WITH_SETEUID
+#ifdef SAVED_IDS_WORK_WITH_SETEUID
/* Saved effective uid. */
static uid_t saved_euid = 0;
+#endif
#endif /* _POSIX_SAVED_IDS */
$NetBSD: patch-ah,v 1.2 2000/01/27 17:12:05 hubertf Exp $
--- Makefile.in.orig Thu Jan 27 04:15:48 2000
+++ Makefile.in Thu Jan 27 17:07:34 2000
@@ -6,6 +6,7 @@
mandir=@mandir@
mansubdir=@mansubdir@
sysconfdir=@sysconfdir@
+examplesdir=@prefix@/share/examples/ssh
piddir=@piddir@
srcdir=@...
2000 Jan 18
0
More NetBSD patches
...===================================================================
RCS file: /usr/local/cvs/openssh/uidswap.c,v
retrieving revision 1.2
diff -u -r1.2 uidswap.c
--- uidswap.c 2000/01/17 16:53:38 1.2
+++ uidswap.c 2000/01/18 15:23:27
@@ -27,8 +27,10 @@
#define SAVED_IDS_WORK_WITH_SETEUID
#endif /* _POSIX_SAVED_IDS */
+#ifdef SAVED_IDS_WORK_WITH_SETEUID
/* Saved effective uid. */
static uid_t saved_euid = 0;
+#endif
/*
* Temporarily changes to the given uid. If the effective user