Cups + hp1010 was successfully tested on Ubuntu7.10Server

Source: Internet
Author: User
We finally successfully tested cups + hp1010 on Ubuntu7.10Server. Note that after Ubuntu is installed by default, the system will restrict the CUPS system for security reasons, there are mainly the following points: 1. You cannot perform Web management on CUPS through the Web interface http: // localhost: 631/admin; 2. You cannot access the local http: // localhost: 631 through the Web interface on other machines.

We finally successfully tested cups + hp1010 on Ubuntu7.10Server.
Note the following:

After Ubuntu is installed by default, the system imposes security restrictions on the CUPS system, mainly including the following:
1. You cannot perform Web management on CUPS through http: // localhost: 631/admin;
2. You cannot access the local http: // localhost: 631 through the Web interface on other machines to view the print status;
3. the printer of the local machine cannot be shared through IPP protocol on other machines.

For the above three questions, you can make different settings as needed:
1. The reason for this restriction is very simple. Because the cupsys user does not have the permission to access the/etc/shadow file, it cannot identify the authenticity of the user. To solve this problem, it is very simple, you only need to add the user to the passwd group. The command is as follows:
$ Sudo adduser cupsys shadow
In addition, the lpadmin group has the permission to manage printers. To set up a user with the permission to manage the CUPS system, you only need to add the user to the lpadmin group, if the print administrator is firehare, you only need the following command:
$ Sudo adduser firehare lpadmin
Enter
$ Sudo/etc/init. d/cupsys force-reload
Next, try entering http: // localhost: 631/admin in Firefox, and then entering the user and password in the superuser or lpadmin group to enter the management interface.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.