Configure CUPS permissions

11,828

What's wrong with installing a printer the normal way?

From the linked page:

  1. Open System Settings from the Dash.
  2. Open Printers.
  3. Click Add and select the printer from the Devices window. If it's a network printer, you may need to manually configure it.
  4. Click Forward and wait while it searches for drivers.
  5. You can customize the printer's name, description, and location if you like. When finished, click Apply.
  6. You can now print a test page or click Cancel to skip that step.

If you want to use CUPS (the thing at https://localhost:631), you need to make sure your user is part of the lpadmin group. To do this, run this command in a terminal:

sudo usermod -aG lpadmin <your_username>

Be sure to replace <your_username> with your username. After this command has run, be sure to reboot or log out of every active session.

Then, log into the CUPS interface using your Linux credentials.

Share:
11,828

Related videos on Youtube

Kaz Wolfe
Author by

Kaz Wolfe

Hello. You showed up in my review queue. You will be reviewed and re-tagged if necessary. Failure to comply may result in harm. Yes, I am a wolf. Awoo. IT director for a warehousing company, doing networking, systems, and support. My languages of choice are Java and Python. One of the six people who actually like MongoDB. Self-declared cybersecurity expert. If you need me, swing by the AskUbuntu General Room or contact me on Discord. If you want to talk to me over e-mail for some reason, shoot a message to the below listed address. Please don't spam me. Notable Achievements Wrote WolfBot. And abandoned it. And then went back to working on it. And then archived it to go work on Discord chatbots Played video games Managed to nuke an entire Linux install, live. And then fix it, live. Reddit. Operate DIY Tech, a partnered Discord server. Honestly not much. I'm pretty boring. Contact Information PGP Key: 2588 13F5 3A16 EBB4 (Keybase Enabled) Discord: KazWolfe#2896 E-mail: (username)@linux.com

Updated on September 18, 2022

Comments

  • Kaz Wolfe
    Kaz Wolfe almost 2 years

    I'm trying to install a printer through CUPS, but I am unable to.

    I get up to the point where I need to log in to the CUPS interface, but I keep getting a 403 Forbidden message when I try to use my credentials.

    How do I log in and install my printer?

  • Admin
    Admin over 7 years
    I have been very helpful to your answer. Problem solved. Thank you very much for your answer.