I have a desktop running 42.2 as a clean install. I run the desktop and two laptops on my nfs network. I’ve been trying to access cups.Cups 1.7.5-7.10 is installed. In the past I could log into cups using the user as admin and the root password. It doesn’t work and i can’t get into cups.What do I need to do here?
Not quite sure what you mean here. Can you access the CUPS web interface at all?
If not, check cups.service status first
systemctl status cups
Yes, that is what I’ve always used. I found if I used root and the root password, I could access it.
Yes, but the reason I asked to to run ‘systemctl status cups’ was in order to determine whether CUPS is active or not. Can you access the CUPS web interface as expected or not?
Yes, user root and root’s password is as expected.
I just used the link provided and clicked admin as a normal user and as expected I can add printers etc without needing a password.
So why use it any other way?
I’d guess that there is some way of only allowing access to privileged users but it’s been like this on opensuse for some time. Prior to that there was a period where it wouldn’t even accept the root password and wanted one all of it’s own. Then it would and then came the current set up.
John
It depends on what ‘administrator’ action you’re trying to do. By default, adding a printer for example requires root credentials. The access privileges are configured in /etc/cups/cupsd.conf and /etc/cups/cups-files.conf, and can be adjusted to suit. For example the default systemgroup is set in cups-files.conf as follows:
SystemGroup root
Refer
man cupsd.conf
man cups-files.conf
I’d guess that there is some way of only allowing access to privileged users but it’s been like this on opensuse for some time.
Again, it depends on what actions you’re referring to, but perhaps you have a customised cupsd.conf in use.
Yes. When I logged in as root and root password it worked.
re deano
Yes. If I actually enter the add printer section it asks for a password.
I assumed it was still as per my previous version 12.3. I’d guess that I will have added myself to the printer ( lp ) user group on that and can’t recollect changing any files. That doesn’t appear to do anything now.
John
Right
I assumed it was still as per my previous version 12.3. I’d guess that I will have added myself to the printer ( lp ) user group on that and can’t recollect changing any files. That doesn’t appear to do anything now.
John
Your getting yourself confused. The ‘lp’ group is for access to print on local printers (r/w access to the device nodes). The system group ‘root’ (configured in cups-files) has access to change CUPS files for configuration (and other administrator tasks). That could be changed if desired.