~ubuntu-branches/ubuntu/gutsy/vnc4/gutsy

« back to all changes in this revision

Viewing changes to unix/xc/programs/Xserver/XpConfig/C/print/Xprinters

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2006-05-15 20:35:17 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060515203517-l4lre1ku942mn26k
Tags: 4.1.1+X4.3.0-10
* Correction of critical security issue. Thanks to Martin Kogler
  <e9925248@student.tuwien.ac.at> that informed me about the issue,
  and provided the patch.
  This flaw was originally found by Steve Wiseman of intelliadmin.com.
* Applied patch from Javier Kohen <jkohen@users.sourceforge.net> that
  inform the user that only 8 first characters of the password will
  actually be used when typing more than 8 characters, closes:
  #355619.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
########################################################################
 
2
#
 
3
# $Xorg: Xprinters,v 1.3 2000/08/17 19:48:02 cpqbld Exp $
 
4
#
 
5
# X*printers sample configuration file
 
6
#
 
7
#
 
8
# This file belongs in /usr/lib/X11/X*printers, where the "*" is the
 
9
# display number of the server.  For example, if the server is
 
10
# invoked using the command X :0, then the X0printers file is used.
 
11
########################################################################
 
12
 
 
13
########################################################################
 
14
# Use lpstat to augment the list of printers managed by the
 
15
# server. (This is the default behavior if the X*printers file does
 
16
# not exist, or if an "Augment_Printer_List" line is not specified.)
 
17
########################################################################
 
18
#Augment_Printer_List %(default)%
 
19
 
 
20
########################################################################
 
21
# Use the specified command pipeline to augment the list of printers
 
22
# managed by the server.
 
23
########################################################################
 
24
#Augment_Printer_List lpstat -a | cut -d " " -f 1       # equivalent to default
 
25
 
 
26
########################################################################
 
27
# Do not augment the list of printers managed by the server.
 
28
########################################################################
 
29
#Augment_Printer_List %none%
 
30
 
 
31
########################################################################
 
32
# Add individual printers to the list of printers managed by the
 
33
# server.  These are aliases, determined by driver name.
 
34
########################################################################
 
35
 
 
36
 
 
37
# EXAMPLES
 
38
#
 
39
# Printer xppspr
 
40
# Printer xppclpr
 
41
# Printer xppclmonopr
 
42
# Printer xprasterpr
 
43