README
1 ***************************************************************************
2 * LPRng - An Extended Print Spooler System
3 *
4 * Copyright 1988-1995 Patrick Powell, San Diego State University
5 * papowell@sdsu.edu
6 * See LICENSE for conditions of use.
7 *
8 ***************************************************************************
9 * MODULE: TESTSUPPORT/README
10 * PURPOSE: explains how to test LPRng
11 **************************************************************************/
12
13Patrick Powell
14Sun Jul 9 18:07:56 PDT 1995
15
16These files set up a mini-lpr system. The following assumptions are made.
17
181. You are going to install all the working files in /tmp/LPD.
192. You will copy all of the lpd files as well to /tmp/LPD
203. You will set your path to:
21 PATH=/tmp/LPD;$PATH Bourne Shell
22 set path=(/tmp/LPD $path ) C Shell
234. You can now run the LPD software in test mode.
24
25Rough Cut Installation:
26 This is for the adventurous!
27
281. Go back to your executable directory, and run checkpc -T /dev/<serialline>
29 Read the results of the tests. If these do not work, read the
30 instructions in src/Makefile or given by the checkpc output. These
31 tests must pass or the test version will not really work.
32 (Note: the SETUID and serial line locking are not really essential, but
33 help on systems). See details in top level README.
34
35
362. set HOST to the FQDN
37 set USER to your user name
38 Bourne Shell C Shell
39 HOST=host.domail setenv HOST host.domain
40 USER=yourname setenv USER yourname
41
423. run the Makefile in the TESTSUPPORT
43 cd TESTSUPPORT
44 make
45
464. Set your path to have /tmp/LPD as the first entry
47 Bourne Shell C Shell
48 PATH=/tmp/LPD;$PATH set path=(/tmp/LPD $path)
49
505. cd /tmp/LPD
51 Start up the server
52 lpd -F -D2 (in one window or whatever)
53
54 Try out some utilities
55 lpq
56 lpq -a
57 echo hi |lpr
58 lpq
59
606. Kill off the server
61 run:
62 checkpc -f
63 to update the ownerships, etc.
64 Repeat the previous step in testing.
65
667. You can now play with the test setup: trying modify the lpd.perms
67