From Bugzilla Helper: User-Agent: Mozilla/5.0 Galeon/1.2.6 (X11; Linux i586; U;) Gecko/20020830 Description of problem: If you want to connect a RH 8.0 box to a remote unix printer running on an other RH 8.0 box, the documentation "Red Hat Linux 8.0: The Official Red Hat Linux Customization Guide, Chapter 26. Printer Configuration, Adding a Remote UNIX Printer" says: "The remote machine must be configured to allow the local machine to print on the desired queue. As root, create the file /etc/hosts.lpd on the remote machine to which the printer is attached. On separate lines in the file, add the IP address or hostname of each machine which should have printing privileges." But after doing so, you are further not allowed to print on the remote printer. Checking /etc/lpd.perms on the remote host gives you the reason: Printing is allowed only local. You have to uncomment the follwoing line: ## ACCEPT SERVICE=X REMOTEHOST=</etc/accepthost Bingo! The filenames differ. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Read "Customization Guide". 2. Create /etc/hosts.lpd on the remote host. 3. Try to print. Actual Results: Permission denied! Expected Results: There are two possibilities: 1. Change the "Customization Guide": Inform the Reader that one have to adjust the permissions settings in /etc/lpd.perms. Change the filename in /etc/lpd.perms to /etc/hosts.lpd 2. Enable 'ACCEPT SERVICE=X REMOTEHOST=</etc/hosts.lpd' in /etc/perms as default. Additional info:
I have fixed this for the next release and added a docs errata at http://www.redhat.com/docs/errata/RHL-8.0-Manual/. It should appear shortly. Thanks for your report.
I think the docs errata at http://www.redhat.com/docs/errata/RHL-8.0-Manual/ should read: "In addition to creating the /etc/hosts.lpd file containing hostnames, the following line must also be added to /etc/lpd.perms to enable sharing: ACCEPT SERVICE=X REMOTEHOST=</etc/hosts.lpd" Currently it reads: "In addition to creating the /etc/hosts.lpd file containing hostnames, the following line must also be added to /etc/lpd.perms to enable sharing: ACCEPT SERVICE=X REMOTEHOST=" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The problem seems to be an unescaped "<" in the HTML for the page: <tt class="COMPUTEROUTPUT">ACCEPT SERVICE=X REMOTEHOST=</etc/hosts.lpd</tt> ^ should be: <tt class="COMPUTEROUTPUT">ACCEPT SERVICE=X REMOTEHOST=</etc/hosts.lpd</tt> I haven't checked to see whether this is also incorrect in the updated rhl-cg itself.
Thanks for the catch. I fixed the webpage.