12.07.2015 Views

Red Hat Enterprise Linux 5 Administration Unleashed

Red Hat Enterprise Linux 5 Administration Unleashed

Red Hat Enterprise Linux 5 Administration Unleashed

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Printer Configuration 75If the print server does not have the software necessary to run the graphical PrinterConfiguration Tool, the /etc/cups/cupsd.conf file can be edited directly. Make a backupcopy of the file before editing it. Remove the lines from Listing 2.7, and add the followinglines from Listing 2.8. Also modify the Allow lines in the Location sections to read Allow@LOCAL instead of Allow localhost as shown in Listing 2.9. To apply the changes, restartthe CUPS service with the service cups restart command as root.LISTING 2.7Remove to Allow Remote <strong>Administration</strong>2# Only listen for connections from the local machine.Listen localhost:631LISTING 2.8Add to Allow Remote <strong>Administration</strong># Allow remote accessPort 631Listen /var/run/cups/cups.sockLISTING 2.9Modify to Allow Remote <strong>Administration</strong># Allow remote administration...Order allow,denyAllow @LOCALEncryption Required# Allow remote administration...Order allow,denyAllow @LOCALAuthType BasicRequire user @SYSTEM# Allow remote access to the configuration files...Order allow,denyAllow @LOCALAfter enabling remote administration on the print server, start the Printer ConfigurationTool on a different system and click Goto Server on the toolbar. In the dialog shown inFigure 2.18, enter the hostname or IP address of the CUPS server and the username to usefor authentication. The default username is root, which will work for most cases.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!