Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!rice!sun-spots-request From: jon@astro.ucla.edu (Jonathan Eisenhamer) Newsgroups: comp.sys.sun Subject: How does lpr decide on the user? Keywords: Software Message-ID: <2212@brazos.Rice.edu> Date: 11 Oct 89 22:36:45 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 17 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 8, Issue 165, message 8 of 17 To All Spots, A simple question: How does lpr decide on who is going to be the owner of a printing job? In a program (see below), I change the real and effective uid of a process and then submit a print job. The "whoami" correctly shows the change in uid, but an lpq reveals that the print job started by lpr is owned by the uid who ran the program, not the uid changed in the program. This is on a Sun3 running 4.0.1. Any RTFM's or other pointers would be appreciated. Jonathan Eisenhamer jon@astro.ucla.edu jon@uclastro.bitnet bonnie::jon (span 5.708) (213)206-8596