Displaying 5 results from an estimated 5 matches for "satsetid".
Did you mean:
safesetid
2000 Jul 20
1
WITH_IRIX_AUDIT causes error (fwd)
...ng satid
and no connection.
I read a bit in the archives and found the patch that Mark Stone posted
regarding WITH_IRIX_*. The patch referred to uidswap.c and permanently_set_uid().
I found his patch was already in the version I compiled.
I could see that if WITH_IRIX_AUDIT was not defined, the satsetid() call would not
be made, and the error could be avoided. I looked for satsetid on my system
and didn't find it. I am on Irix 6.4.
I commented out the #define in config.h and was able to compile and run
ssh as a normal user.
/* Define if you want IRIX audit trails */
/* problems for us */
/*...
2000 Aug 02
1
IRIX 6.5.5m openssh-2.1.1p4 IRIX_AUDIT PROBLEM
...* called while temporarily_use_uid is effective.
85 */
86 void
87 permanently_set_uid(uid_t uid)
88 {
89 #ifdef WITH_IRIX_AUDIT
90 if (sysconf(_SC_AUDIT)) {
91 debug("Setting sat id to %d", (int) uid);
92 if (satsetid(uid))
93 fatal("error setting satid: %.100s", strerror(errno));
94 }
95 #endif /* WITH_IRIX_AUDIT */
96
97 if (setuid(uid) < 0)
98 debug("setuid %d: %.100s", (int) uid, strerror(errno));...
2002 Feb 15
1
IRIX cleanup.
...tialize project %d for %s: %.100s",
+ (int)projid, pw->pw_name, strerror(errno));
+#endif /* WITH_IRIX_PROJECT */
+#ifdef WITH_IRIX_AUDIT
+ if (sysconf(_SC_AUDIT)) {
+ debug("Setting sat id to %d", (int) pw->pw_uid);
+ if (satsetid(pw->pw_uid))
+ debug("error setting satid: %.100s", strerror(errno));
+ }
+#endif /* WITH_IRIX_AUDIT */
+}
+
+
+#endif /* defined(WITH_IRIX_PROJECT) || defined(WITH_IRIX_JOBS) || defined(WITH_IRIX_ARRAY) */
diff -urN openssh-3.0.2p1/openbsd-compat/bsd-irix...
2000 Nov 14
14
New snapshot
I have just uploaded a new snapshot to:
http://www.mindrot.org/misc/openssh/openssh-SNAP-20001114.tar.gz
This snapshot includes Markus Friedl's new SSH2 RSA authentication work
and -R portforwarding for SSH2. Please give these a good test.
The new RSA authentications works similar to the current SSH2 DSA keys,
but requires a little modification to config files. Currently RSA
key cannot be
2000 Jun 21
0
IRIX patches
...IX_AUDIT */
/*
* Note: all these functions must work in all of the following cases:
***************
*** 83,88 ****
--- 86,99 ----
void
permanently_set_uid(uid_t uid)
{
+ #ifdef WITH_IRIX_AUDIT
+ if (sysconf(_SC_AUDIT)) {
+ debug("Setting sat id to %d", (int) uid);
+ if (satsetid(uid))
+ fatal("error setting satid: %.100s", strerror(errno));
+ }
+ #endif /* WITH_IRIX_AUDIT */
+
if (setuid(uid) < 0)
debug("setuid %d: %.100s", (int) uid, strerror(errno));
}