summaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2018-03-12 21:51:15 -0400
committerMichael R Sweet <michael.r.sweet@gmail.com>2018-03-12 21:51:15 -0400
commit32987439c3dedb1dc03dabc943442fece7ec3d86 (patch)
tree521e5f2cb36d25a72ef509ac36921874ed27fdd5 /backend
parente6062e8e9cda552e90482d1390ab95ce81650caa (diff)
downloadcups-32987439c3dedb1dc03dabc943442fece7ec3d86.tar.gz
Use setuid for Kerberized IPP printing (Issue #5233)
Diffstat (limited to 'backend')
-rw-r--r--backend/ipp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/ipp.c b/backend/ipp.c
index dbbb029f1..5a86eff81 100644
--- a/backend/ipp.c
+++ b/backend/ipp.c
@@ -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 */