Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Printer Accounting on Ultrix4.1/DS3100
@ 1991-02-20 21:00 Janick Bergeron
  1991-02-21 14:36 ` Leonard Peirce
  0 siblings, 1 reply; 2+ messages in thread
From: Janick Bergeron @ 1991-02-20 21:00 UTC (permalink / raw)


I wish to monitor printer usage via the accounting facility.
I've added an 'af=/usr/adm/ln03r.acct' entry in my /etc/printcap
file and restarted the lpd deamon but no information gets written
to the accounting file.

I 'touch'ed the file which is owned by root, mode 644. Its size remains 0.

Where did I go wrong ???

--
Janick Bergeron     Bell-Northern Research, Ltd       Ph.: (613) 763-5457
VHDL Tools            P.O. Box 3511, Station C        Fax: (613) 763-7241
                  Ottawa, Ontario, Canada, K1Y 4H7  Flame: 1-800-DEV-NULL
janick@bnr.ca                     library disclaimer; use disclaimer.all;


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Printer Accounting on Ultrix4.1/DS3100
  1991-02-20 21:00 Printer Accounting on Ultrix4.1/DS3100 Janick Bergeron
@ 1991-02-21 14:36 ` Leonard Peirce
  0 siblings, 0 replies; 2+ messages in thread
From: Leonard Peirce @ 1991-02-21 14:36 UTC (permalink / raw)


In article <1991Feb20.210038.16057@bnr.ca> janick@bnr.ca writes:
>I wish to monitor printer usage via the accounting facility.
>I've added an 'af=/usr/adm/ln03r.acct' entry in my /etc/printcap
>file and restarted the lpd deamon but no information gets written
>to the accounting file.
>
>I 'touch'ed the file which is owned by root, mode 644. Its size remains 0.

You might want to try protecting them 664.  My accounting files are owner root,
group system, and mode 664 and things work ok.

Another potential problem could be the filter:  does it support accounting?

--
Leonard Peirce                  Internet:  peirce@gumby.cc.wmich.edu
Western Michigan University                peirce@gw.wmich.edu
Academic Computing Services     UUCP:      ...!uunet!sharkey!wmichgw!peirce
Kalamazoo, MI  49008            Phone:     (616) 387-5469


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1991-02-21 14:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1991-02-20 21:00 Printer Accounting on Ultrix4.1/DS3100 Janick Bergeron
1991-02-21 14:36 ` Leonard Peirce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox