I can't change settings on my cups printer. He asks me for a username and password i already added for me the usergroup lpadmin . But nothing changes after a restart of cups. Still asking me for username and password and my user is not working.
I can't change settings on my cups printer. He asks me for a username and password i already added for me the usergroup lpadmin . But nothing changes after a restart of cups. Still asking me for username and password and my user is not working.
I had the same problem.
I seem to have fixed it with the command:
sudo usermod -a -G lpadmin pi
This adds the user name pi to the cups user group
lpadmin
. You can then use the default user name "pi" and password "raspberry" when prompted.Check if cups is accessible on your localhost through the webinterface
in /etc/cups/cupsd.conf. Then restart cups using
and check if you user is part of the group lpadmin
After that you should be able to access cups with you username & pwd on
http://127.0.0.1:631/
If it still fails check the cups error log here
P.S. you might also want to read this thread.
lpadmin
group.To see the list of users in
lpadmin
group, use the command in a root shellcat /etc/group | grep lpadmin
Just upgraded a bunch of client computers from 14.04 to 16.04 on and ran into this issue.
This appears to be the problem:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1157318
The fix
Of course, make sure you really have your user ID in the lpadmin group, as the OP stated.
If you ended up here like me on a newer version, 18.04, you should already be apart of this group. So your username and password should work.