Jump to content

CUPS web interface issues

Go to solution Solved by 10leej,

are you logging into an account thats a member of the lpadmin group? Alternatively you could login to the root user (obviously never stay logged in as root for long).

 

https://wiki.debian.org/SystemPrinting#webinterface

https://wiki.gentoo.org/wiki/Printing

https://wiki.archlinux.org/title/CUPS

I'm trying to set up a print server on an old 32-bit machine running Debian 11. I followed this toutorial for Ubuntu that I followed before on a desktop install before to configure CUPS and samba, however I'm having some struggles now. As the computer being used is garbage I have decided to remotly manage it from another system via SSH and avoide a DE to reduce overhead. Currently I can access the CUPS web interface via 192.168.1.100:631 but what I try to authenticate so that I can do any administration tasks I get a 403 Forbidden error. I have tried to follow several form posts that I found but none of them have solved my problem. My current cupsd.conf is included below:

cupsd.conf

Link to comment
Share on other sites

Link to post
Share on other sites

11 hours ago, 10leej said:

are you logging into an account thats a member of the lpadmin group?

No I was not, I'll try adding my user to that group.

11 hours ago, 10leej said:

Alternatively you could login to the root user

During the setup I skipped giving the root user a password so I have to do the whole sudo as my user account thing, I'm pretty sure that means I can't log in as the root user.

Link to comment
Share on other sites

Link to post
Share on other sites

12 minutes ago, HeroRareheart said:

No I was not, I'll try adding my user to that group.

That worked flawlessly, just had to reboot after adding myself to lpadmin.

Link to comment
Share on other sites

Link to post
Share on other sites

On 8/31/2022 at 3:49 PM, HeroRareheart said:

No I was not, I'll try adding my user to that group.

During the setup I skipped giving the root user a password so I have to do the whole sudo as my user account thing, I'm pretty sure that means I can't log in as the root user.

If you ever want to unlock the root account, just give it a password using a sudoer (a user account that has access to using sudo)

 

sudo passwd root

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×