How does lpr decide on the user?

Jonathan Eisenhamer jon at astro.ucla.edu
Thu Oct 12 08:36:45 AEST 1989


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 at astro.ucla.edu
jon at uclastro.bitnet
bonnie::jon (span 5.708)
(213)206-8596



More information about the Comp.sys.sun mailing list