DEV Community

Cover image for Cups Web Interface in Ubuntu
Chuck
Chuck

Posted on

1 4

Cups Web Interface in Ubuntu

Recently, after reinstalling POP_OS on my System 76 laptop I was having problems connecting to my HP LaserJet MFP M227fdw. POP_OS is a Ubuntu derivative especially designed for System 76 hardware and my setup is based on Ubuntu 19.04.

The Gnome Print manager was not finding the printer and when I tried to install the network print, which it would, my username and password would not authenticate. Simply put, this is a security feature, but on a home based single user system I needed to safely bypass.

The procedure is pretty simple. First, I needed to add myself to the lpadmin group (you will probably need to enter your sudo password):

sudo usermod -aG lpadmin <username>
Enter fullscreen mode Exit fullscreen mode

Last thing is to restart CUPs. This can be done by typing:

sudo /etc/init.d/cups restart
Enter fullscreen mode Exit fullscreen mode

Then go to the CUPS web interface at http://localhost:631/ and freely add your printer. It worked for me flawlessly and I hope it helps you as well.

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay