Summary: lpr ==> wrong username on burst page

From: V.Sander (zdv123@zam092.zam.kfa-juelich.de)
Date: Mon Aug 16 1993 - 14:23:49 CDT


My original question was:

----- Begin Included Message -----

>Hallo SUN-Managers,

>does anyone know why a print job to a Kyocera P2000 printer sometimes gets
>a wrong userid on the burst page?
>...
----- End of Included Message -----

The reason for the wrong burst page is that Berkeley's lpr does really
obnoxious things to get the username for a print job. It relies
on information in the /etc/utmp file which is typically unreliable.
Thing is that if you send a print job from something connected to a
non-login pty, for instance an emacs buffer in shell-mode,
lpr obtains the username from the entry in /etc/utmp for that pty.

One have to run a tool that deletes /etc/utmp entries for inactive pty-s.
I will look at a tool free_pty, which is available on the internet
from iesd.auc.dk (/pub/free_pty.shar.Z)

Many thanks to
Richard.Elling@eng.auburn.edu
kubipdal@uts.uni-c.dk
emb900@cscgpo.anu.edu.au
eckhard@ts.go.dlr.de

----+----+----+----+----+----+----+----+----+----+----+----+----+----+----+
    Volker Sander
    Central Institute for Applied Mathematics
    Research Center Juelich
    52425 Juelich
    Germany

    E-mail: V.Sander@kfa-juelich.de
    Phone: (+49) 2461 / 61- 6586
----+----+----+----+----+----+----+----+----+----+----+----+----+----+----+



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:06 CDT