]> 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:15 +0000 (21:51 -0400)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Tue, 13 Mar 2018 01:51:15 +0000 (21:51 -0400)
backend/ipp.c

index dbbb029f189020d5dfff2878ae4694d46246a3b2..5a86eff81566a7287c761dba60fde5a71378ca5c 100644 (file)
@@ -389,7 +389,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 */