This file is indexed.

/usr/share/doc/lprng-doc/LPRng-Reference-Multipart/x483.htm is in lprng-doc 3.8.A~rc2-3.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <meta name="generator" content=
  "HTML Tidy for HTML5 for Linux version 5.2.0">
  <title>Configuration</title>
  <meta name="GENERATOR" content=
  "Modular DocBook HTML Stylesheet Version 1.79">
  <link rel="HOME" title=" LPRng Reference Manual" href=
  "index.htm">
  <link rel="UP" title="Installation" href="installation.htm">
  <link rel="PREVIOUS" title="Daemon User and Daemon Group " href=
  "usergroup.htm">
  <link rel="NEXT" title=
  "System and User Printcap, lpd.conf, and lpd.perms files " href=
  "requireconfig.htm">
</head>
<body class="SECT1" bgcolor="#FFFFFF" text="#000000" link="#0000FF"
vlink="#840084" alink="#0000FF">
  <div class="NAVHEADER">
    <table summary="Header navigation table" width="100%" border=
    "0" cellpadding="0" cellspacing="0">
      <tr>
        <th colspan="3" align="center">LPRng Reference Manual: 24
        Sep 2004 (For LPRng-3.8.28)</th>
      </tr>
      <tr>
        <td width="10%" align="left" valign="bottom"><a href=
        "usergroup.htm" accesskey="P">Prev</a></td>
        <td width="80%" align="center" valign="bottom">Chapter 2.
        Installation</td>
        <td width="10%" align="right" valign="bottom"><a href=
        "requireconfig.htm" accesskey="N">Next</a></td>
      </tr>
    </table>
    <hr align="left" width="100%">
  </div>
  <div class="SECT1">
    <h1 class="SECT1"><a name="AEN483" id="AEN483">2.5.
    Configuration</a></h1>
    <p>The <b class="APPLICATION">LPRng</b> package consists of the
    following executables and configuration files:</p>
    <ul>
      <li>
        <p><b class="APPLICATION">lpd</b> - the <b class=
        "APPLICATION">lpd</b> print server program</p>
      </li>
      <li>
        <p><b class="APPLICATION">lpr</b>, <b class=
        "APPLICATION">lpq</b>, <b class="APPLICATION">lprm</b>,
        <b class="APPLICATION">lpc</b>, and <b class=
        "APPLICATION">lpstat</b> client programs for printing,
        status queries, job removal, server configuration, and
        System V <b class="APPLICATION">lpstat</b> emulation
        respectively.</p>
      </li>
      <li>
        <p><tt class="FILENAME">printcap</tt> print queue database
        file which is used by all the server and client
        programs</p>
      </li>
      <li>
        <p><tt class="FILENAME">lpd.conf</tt> <b class=
        "APPLICATION">LPRng</b> configuration options which is used
        by all the server and client programs</p>
      </li>
      <li>
        <p><tt class="FILENAME">lpd.perms</tt> permission
        information which is used by the <b class=
        "APPLICATION">lpd</b> server to control user actions.</p>
      </li>
    </ul>
    <p><b class="APPLICATION">LPRng</b> uses the <b class=
    "APPLICATION">configure</b> script generated by the <a href=
    "http://www.gnu.org" target="_top">GNU</a> <b class=
    "APPLICATION">autoconf</b> utility to generate a set of
    <tt class="FILENAME">Makefiles</tt>. These are used by <a href=
    "http://www.gnu.org" target="_top">GNU</a> <b class=
    "APPLICATION">make</b> to compile and install the <b class=
    "APPLICATION">LPRng</b> software. The following <tt class=
    "FILENAME">Makefile</tt> variables and values are set by
    <b class="APPLICATION">configure</b> to specify the location of
    the <b class="APPLICATION">LPRng</b> software:</p>
    <div class="INFORMALTABLE">
      <a name="AEN523" id="AEN523"></a>
      <table border="1" class="CALSTABLE">
        <col>
        <col>
        <col>
        <col>
        <thead>
          <tr>
            <th>Configure Variable</th>
            <th>Default Value</th>
            <th>Expanded Default Value</th>
            <th>Override</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td><tt class="LITERAL">${prefix}</tt></td>
            <td><tt class="LITERAL">/usr/local</tt></td>
            <td><tt class="LITERAL">--prefix=PATH</tt></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td><tt class="LITERAL">${exec_prefix}</tt></td>
            <td><tt class="LITERAL">${prefix}</tt></td>
            <td><tt class="LITERAL">/usr/local</tt></td>
            <td><tt class="LITERAL">--execprefix= PATH</tt></td>
          </tr>
          <tr>
            <td><tt class="LITERAL">${bindir}</tt></td>
            <td><tt class="LITERAL">${exec_prefix}/bin</tt></td>
            <td><tt class="LITERAL">/usr/local/bin</tt></td>
            <td><tt class="LITERAL">--bindir= PATH</tt></td>
          </tr>
          <tr>
            <td><tt class="LITERAL">${sbindir}</tt></td>
            <td><tt class="LITERAL">${exec_prefix}/sbin</tt></td>
            <td><tt class="LITERAL">/usr/local/sbin</tt></td>
            <td><tt class="LITERAL">--sbindir= PATH</tt></td>
          </tr>
          <tr>
            <td><tt class="LITERAL">${libexecdir}</tt></td>
            <td><tt class="LITERAL">${exec_prefix}
            /libexec</tt></td>
            <td><tt class="LITERAL">/usr/local/libexec</tt></td>
            <td><tt class="LITERAL">--libexecdir= PATH</tt></td>
          </tr>
          <tr>
            <td><tt class="LITERAL">${sysconfdir}</tt></td>
            <td><tt class="LITERAL">${prefix}/etc</tt></td>
            <td><tt class="LITERAL">/usr/local/etc</tt></td>
            <td><tt class="LITERAL">--sysconfdir= PATH</tt></td>
          </tr>
          <tr>
            <td><tt class="LITERAL">${mandir}</tt></td>
            <td><tt class="LITERAL">${prefix}/man</tt></td>
            <td><tt class="LITERAL">/usr/local/man</tt></td>
            <td><tt class="LITERAL">--mandir= PATH</tt></td>
          </tr>
        </tbody>
      </table>
    </div>
    <p>These are used to install the following files:</p>
    <div class="INFORMALTABLE">
      <a name="AEN594" id="AEN594"></a>
      <table border="1" class="CALSTABLE">
        <col>
        <col>
        <thead>
          <tr>
            <th>Configure Variable</th>
            <th>Files</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td><tt class="LITERAL">${bindir}</tt></td>
            <td><tt class="LITERAL">lpr, lprm, lpq,
            lpstat</tt></td>
          </tr>
          <tr>
            <td><tt class="LITERAL">${sbindir}</tt></td>
            <td><tt class="LITERAL">lpc, checkpc, lpd</tt></td>
          </tr>
          <tr>
            <td><tt class="LITERAL">${libexecdir}/filters</tt></td>
            <td><tt class="LITERAL">lpf, pclbanner, psbanner,
            lpbanner</tt></td>
          </tr>
          <tr>
            <td><tt class="LITERAL">${sysconfdir}</tt></td>
            <td><tt class="LITERAL">lpd.conf, lpd.perms,
            printcap</tt></td>
          </tr>
          <tr>
            <td><tt class="LITERAL">${mandir}/man[1-9]</tt></td>
            <td><tt class="LITERAL">man pages</tt></td>
          </tr>
        </tbody>
      </table>
    </div>
    <p>You can set explicit values for the paths by using the
    override <tt class="LITERAL">--name=PATH</tt>. For example:</p>
    <div class="INFORMALEXAMPLE">
      <a name="AEN628" id="AEN628"></a>
      <pre class="SCREEN">
      ./configure --prefix=/usr --sysconfdir=/etc \
    --mandir=/usr/share/man</pre>
    </div>
    <div class="INFORMALTABLE">
      <a name="AEN630" id="AEN630"></a>
      <table border="1" class="CALSTABLE">
        <col>
        <col>
        <col>
        <thead>
          <tr>
            <th>Variable</th>
            <th>Value</th>
            <th>Files</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td>${bindir}</td>
            <td>/usr/bin</td>
            <td>/usr/bin/{lpr,lprm,lpq,lpstat}</td>
          </tr>
          <tr>
            <td>${sbindir}</td>
            <td>/usr/sbin</td>
            <td>/usr/sbin/{lpc,checkpc,lpd}</td>
          </tr>
          <tr>
            <td>${libexecdir}/filters</td>
            <td>/usr/libexec/filters</td>
            <td>/usr/libexec/filters{lpf, pclbanner, psbanner,
            lpbanner}</td>
          </tr>
          <tr>
            <td>${sysconfdir}</td>
            <td>/etc</td>
            <td>/etc/{lpd.conf,lpd.perms,printcap}</td>
          </tr>
          <tr>
            <td>${mandir}/man[1-9]</td>
            <td>/usr/share/man</td>
            <td>/usr/share/man/man[1-9]/{man pages}</td>
          </tr>
        </tbody>
      </table>
    </div>
    <p>In addition to these standard <b class=
    "APPLICATION">configure</b> options the following options
    provided.</p>
    <div class="VARIABLELIST">
      <dl>
        <dt><tt class="LITERAL">--disable-setuid</tt></dt>
        <dd>
          <p>Install the executables without setuid ROOT
          permissions. Non-setuid clients and programs are
          inherently more secure than SETUID programs, and system
          administrators would be well advised to install them
          without SETUID root permissions. Please see <a href=
          "setuid.htm">Security Considerations</a> for more details
          about this option.</p>
        </dd>
        <dt><tt class="LITERAL">--enable-priv_ports</tt></dt>
        <dd>
          <p>Require connections to the <b class=
          "APPLICATION">lpd</b> server to come from a privileged
          port (range 1-1023). By default <b class=
          "APPLICATION">LPRng</b> will allow connections from any
          port. Please see <a href="setuid.htm">Security
          Considerations</a> for more details about this
          option.</p>
        </dd>
        <dt><tt class="LITERAL">--disable-force_localhost</tt></dt>
        <dd>
          <p>The default <b class="APPLICATION">LPRng</b>
          configuration assumes that all printing will be done via
          a <b class="APPLICATION">lpd</b> print spooler running on
          the local host system. However, many larger sites prefer
          that all users do their printing via a few central
          servers, and do not run <b class="APPLICATION">lpd</b>
          servers on user systems. The <tt class=
          "LITERAL">--disable-force_localhost</tt> configuration
          sets the default value of the <tt class=
          "LITERAL">force_localhost</tt> value to <tt class=
          "LITERAL">false</tt>, by default allowing the <b class=
          "APPLICATION">LPRng</b> clients to connect directly to
          <b class="APPLICATION">lpd</b> servers on remote
          hosts.</p>
        </dd>
        <dt><tt class=
        "LITERAL">--disable-require_configfiles</tt></dt>
        <dd>
          <p>By default, the <b class="APPLICATION">lpr</b>,
          <b class="APPLICATION">lpq</b>, <b class=
          "APPLICATION">lprm</b>, and <b class=
          "APPLICATION">lpc</b> clients require the <tt class=
          "FILENAME">lpd.conf</tt> and <tt class=
          "FILENAME">printcap</tt> files to be present on the
          localhost. The <tt class=
          "LITERAL">--disable-require_configfiles</tt> literal
          removes this requirement.</p>
        </dd>
        <dt><tt class="LITERAL">--enable-kerberos</tt></dt>
        <dd>
          <p>Include support for Kerberos 5 authenticated
          transfers.</p>
        </dd>
        <dt><tt class="LITERAL">--enable-mit_kerberos4</tt></dt>
        <dd>
          <p>Include support for MIT Kerberos 4 authenticated
          transfers.</p>
        </dd>
        <dt><tt class="LITERAL">--disable-kerberos_checks</tt></dt>
        <dd>
          <p>Disable checks for kerberos support libraries,
          etc.</p>
        </dd>
        <dt><tt class="LITERAL">--with-lpddir=DIR</tt></dt>
        <dd>
          <p>lpd executable directory (default ${sbindir}). For
          historical configuration compatibility.</p>
        </dd>
        <dt><tt class="LITERAL">--with-filterdir=DIR</tt></dt>
        <dd>
          <p>Filter directory (default ${libexecdir}/filters). For
          historical configuration compatibility.</p>
        </dd>
        <dt><tt class="LITERAL">--with-lpd_conf_path=PATH</tt></dt>
        <dd>
          <p>Path of <tt class="FILENAME">lpd.conf</tt> file. For
          historical configuration compatibility.</p>
        </dd>
        <dt><tt class=
        "LITERAL">--with-lpd_perms_path=PATH</tt></dt>
        <dd>
          <p>Path of <tt class="FILENAME">lpd.perms</tt> file. For
          historical configuration compatibility.</p>
        </dd>
        <dt><tt class="LITERAL">--with-printcap_path=PATH</tt></dt>
        <dd>
          <p>Path of <tt class="FILENAME">printcap</tt> file. For
          historical configuration compatibility.</p>
        </dd>
        <dt><tt class=
        "LITERAL">--with-ld_library_path=PATHLIST</tt></dt>
        <dd>
          <p>Set the LD_LIBRARY_PATH environment variable of
          filters to this value.</p>
        </dd>
        <dt><tt class=
        "LITERAL">--with-filter_path=PATHLIST</tt></dt>
        <dd>
          <p>Set the PATH environment variable of filters to this
          value.</p>
        </dd>
        <dt><tt class="LITERAL">--with-userid=NAME</tt></dt>
        <dd>
          <p>Run <b class="APPLICATION">LPRng</b> as this user,
          default daemon</p>
        </dd>
        <dt><tt class="LITERAL">--with-groupid=NAME</tt></dt>
        <dd>
          <p>Run <b class="APPLICATION">LPRng</b> as this group,
          default daemon</p>
        </dd>
        <dt><tt class="LITERAL">--with-lockfile=PATH</tt></dt>
        <dd>
          <p>The lockfile path. This will be expanded to
          PATH.server or PATH.port allowing multiple <b class=
          "APPLICATION">LPRng</b> servers to run on a single
          host.</p>
        </dd>
        <dt><tt class="LITERAL">--with-filterdir=PATH</tt></dt>
        <dd>
          <p>Location of the filters installed by <b class=
          "APPLICATION">LPRng</b>.</p>
        </dd>
        <dt><tt class="LITERAL">--with-done_jobs=N</tt></dt>
        <dd>
          <p>retain status of last N done jobs.</p>
        </dd>
        <dt><tt class=
        "LITERAL">--with-done_jobs_max_age=N</tt></dt>
        <dd>
          <p>remove status of done jobs older than N seconds.</p>
        </dd>
        <dt><tt class=
        "LITERAL">--with-chooser_routine=NAME</tt></dt>
        <dd>
          <p>name of chooser routine provided by user</p>
        </dd>
        <dt><tt class="LITERAL">--with-order_routine=NAME</tt></dt>
        <dd>
          <p>name of order routine provided by user</p>
        </dd>
        <dt><tt class="LITERAL">--with-user_objs=NAME</tt></dt>
        <dd>
          <p>object file with routines provided by user</p>
        </dd>
        <dt><tt class="LITERAL">--with-user_include=NAME</tt></dt>
        <dd>
          <p>include file with templates for routines provided by
          user</p>
        </dd>
        <dt><tt class="LITERAL">--disable-strip</tt></dt>
        <dd>
          <p>Do not strip the executables before installing. For
          debugging and diagnostic purposes.</p>
        </dd>
        <dt><tt class=
        "LITERAL">--with-unixsocketpath=PATHNAME</tt></dt>
        <dd>
          <p>the pathname of the UNIX socket (off or blank to
          disable)</p>
        </dd>
        <dt><tt class="LITERAL">--disable-ssl</tt></dt>
        <dd>
          <p>disable ssl support</p>
        </dd>
        <dt><tt class="LITERAL">--with-openssl=DIR</tt></dt>
        <dd>
          <p>root location for OpenSSL</p>
        </dd>
        <dt><tt class="LITERAL">--with-openssl-inc</tt></dt>
        <dd>
          <p>OpenSSL include files</p>
        </dd>
        <dt><tt class="LITERAL">--with-openssl-lib</tt></dt>
        <dd>
          <p>OpenSSL library files</p>
        </dd>
        <dt><tt class="LITERAL">--with-ssl_ca_file=FILE</tt></dt>
        <dd>
          <p>ssl Certificate Authority CERT file (default
          ${sysconfdir}/lpd/ssl.ca/ca.crt)</p>
        </dd>
        <dt><tt class="LITERAL">--with-ssl_ca_key=KEY</tt></dt>
        <dd>
          <p>ssl Certificate Authority private key file (default
          ${sysconfdir}/lpd/ssl.ca/ca.key)</p>
        </dd>
        <dt><tt class="LITERAL">--with-ssl_certs_dir=DIR</tt></dt>
        <dd>
          <p>ssl Certificate Authority certs working directory
          (default ${sysconfdir}/lpd/ssl.certs/)</p>
        </dd>
        <dt><tt class=
        "LITERAL">--with-ssl_server_cert=FILE</tt></dt>
        <dd>
          <p>ssl server certificate file (default
          ${sysconfdir}/lpd/ssl.server/server.crt)</p>
        </dd>
        <dt><tt class=
        "LITERAL">--with-ssl_server_password_file=FILE</tt></dt>
        <dd>
          <p>ssl server private key in password file (default
          ${sysconfdir}/lpd/ssl.server/server.pwd)</p>
        </dd>
      </dl>
    </div>
    <p>It is recommended that you use one of the following
    configurations:</p>
    <ol type="1">
      <li>
        <p>If you already have a print spooling system installed
        and want to install <b class="APPLICATION">LPRng</b> for
        testing purposes or as an alternative to the existing
        system and keep your existing print spooling system,
        use:</p>
        <div class="INFORMALEXAMPLE">
          <a name="AEN867" id="AEN867"></a>
          <pre class="SCREEN">./configure

use defaults for file locations and permissions:
  /usr/local/{bin,sbin,libexec/filters,man}
requires lpd to run on the local host
executables installed setuid ROOT</pre>
        </div>
      </li>
      <li>
        <p>If you have manual pages in <tt class=
        "FILENAME">/usr/share/man</tt>, your existing print
        spooling system has executables in <tt class=
        "FILENAME">/usr/bin</tt> and <tt class=
        "FILENAME">/usr/sbin</tt>, and you want to replace your
        existing print spooling system, use:</p>
        <div class="INFORMALEXAMPLE">
          <a name="AEN874" id="AEN874"></a>
          <pre class="SCREEN">
          ./configure --prefix=/usr --sysconfdir=/etc \
  --mandir=/usr/share/man

executables and files in
   /usr/{bin,sbin,libexec/filters}
   /usr/share/man/man[0-9]
requires lpd to run on the local host
everything installed setuid ROOT</pre>
        </div>
      </li>
      <li>
        <p>If you have manual pages in <tt class=
        "FILENAME">/usr/share/man</tt> and allow jobs (by default)
        to be sent directly to the server host (lightweight
        operation), use:</p>
        <div class="INFORMALEXAMPLE">
          <a name="AEN879" id="AEN879"></a>
          <pre class="SCREEN">
          ./configure --prefix=/usr --sysconfdir=/etc \
   --mandir=/usr/share/man --disable-force_localhost

executables and files in
   /usr/{bin,sbin,libexec/filters}
   /usr/share/man/man[0-9]
does not require lpd to run on the local host
everything installed setuid ROOT</pre>
        </div>
      </li>
    </ol>
  </div>
  <div class="NAVFOOTER">
    <hr align="left" width="100%">
    <table summary="Footer navigation table" width="100%" border=
    "0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="33%" align="left" valign="top"><a href=
        "usergroup.htm" accesskey="P">Prev</a></td>
        <td width="34%" align="center" valign="top"><a href=
        "index.htm" accesskey="H">Home</a></td>
        <td width="33%" align="right" valign="top"><a href=
        "requireconfig.htm" accesskey="N">Next</a></td>
      </tr>
      <tr>
        <td width="33%" align="left" valign="top">Daemon User and
        Daemon Group</td>
        <td width="34%" align="center" valign="top"><a href=
        "installation.htm" accesskey="U">Up</a></td>
        <td width="33%" align="right" valign="top">System and User
        Printcap, lpd.conf, and lpd.perms files</td>
      </tr>
    </table>
  </div>
  <p align="center"></p>
</body>
</html>