]> andersk Git - openssh.git/blobdiff - auth-sia.c
- (dtucker) [auth-sia.c configure.ac] Tru64 update from cmadams at hiwaay.net.
[openssh.git] / auth-sia.c
index cdd39d670a0cbc0c064ee25a6d4cc7f0efe1af9b..cd2dcb8406552a445d488565d73f7f7a73751fd5 100644 (file)
@@ -31,6 +31,7 @@
 #include "log.h"
 #include "servconf.h"
 #include "canohost.h"
+#include "uidswap.h"
 
 #include <sia.h>
 #include <siad.h>
@@ -103,8 +104,8 @@ session_setup_sia(struct passwd *pw, char *tty)
 
        sia_ses_release(&ent);
 
-       if (setreuid(geteuid(), geteuid()) < 0)
-               fatal("setreuid: %s", strerror(errno));
+       setuid(0);
+       permanently_set_uid(pw);
 }
 
 #endif /* HAVE_OSF_SIA */
This page took 0.307939 seconds and 4 git commands to generate.