]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Use setuid for Kerberized IPP printing (Issue #5233)
authorMichael R Sweet <michael.r.sweet@gmail.com>
Tue, 13 Mar 2018 01:51:47 +0000 (21:51 -0400)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Tue, 13 Mar 2018 01:51:47 +0000 (21:51 -0400)
backend/ipp.c

index 1eb8f64f33394038b6d13afb445fb5d01d8c0068..44ce8d204e7eea293aa63a83cebb10b9e217ea09 100644 (file)
@@ -394,7 +394,7 @@ main(int  argc,                             /* I - Number of command-line args */
 
 #  else /* No XPC, just try to run as the user ID */
     if (uid > 0)
-      seteuid(uid);
+      setuid(uid);
 #  endif /* HAVE_XPC */
   }
 #endif /* HAVE_GSSAPI */